He hasn’t waved a magic wand and solved the economic crisis. Since his inauguration barely three weeks ago — an interval that already feels in some ways like three years — Wall Street has tumbled further. The right accuses him of being a socialist, the left complains he’s too centrist. Elements of both say he’s ill-prepared and naïve. The truth is rather different. Mercifully, the giddy euphoria of victory is no more. Inevitably, in febrile hyperventilating Washington, D.C., the pendulum has now swung toward disappointment. In truth, however, Barack Obama has got off to a good start.

Inside his first fortnight, he signed two important pieces of legislation, one establishing equality of pay for men and women, the other expanding health care to four million uninsured children. And now the amateur president has secured Congressional approval for an $800 billion economic stimulus bill, the largest such measure in American history.

The process wasn’t pretty. But such things rarely are — least of all when the Republican opposition is out to test him. But Obama got more or less what he wanted, as even the most diehard Republicans realized that the party could only ignore Nov. 4’s message at its peril.

Thus far, Obama in government has almost exactly resembled the Obama on display during the general election campaign. His decisions have been those of a pragmatist who rejects the extremes, convinced of the power of reason and common sense to prevail.

On occasion, again just as in the campaign, that cerebral approach has seemed to slip into passivity. In that sense, the stimulus bill was a very rude awakening — proving that your opponents will fill any political vacuum, and denting the notion that an economic crisis as grave as this one would automatically compel rivals to work together.

Of course, Obama has made mistakes. The vetting failure that cost him Tom Daschle, his nominee as health secretary, not only damaged the Obama aura of competence.

It also delivered a heavy blow to hopes of comprehensive health care reform. By presenting only a vague bank recovery plan on Monday, he and Tim Geithner, his treasury secretary, badly misjudged the moment. Far better to have waited until they had something specific to announce.

But what new president doesn’t make mistakes? Nothing can prepare you for the job. Never has the learning curve been steeper and more brutal than now, and never has a presidency been at greater risk of simply being overwhelmed by events, whatever the qualities of the man in charge.

And worse undoubtedly is to come. As Obama deliberately warns, the recession will deepen, stimulus or no stimulus. On the financial front, he may have to bite the poisoned ideological bullet of bank nationalization. And all this without the threat of trade wars and climate change, and before some inevitable crisis over Iran, the Middle East or wherever.

But the potential of Obama is undiminished. As none of his recent predecessors, he projects a sense of purpose, a focus on the long term.

For once an American politician is treating his electorate as grown-ups. That is why he will continue to press bipartisanship. And who knows, if you treat your voters and your-fellow politicians like grown-ups, maybe they’ll act that way. All in all, it’s been a pretty good start. Just as on that magical night in Grant Park, Barack Obama still looks the right man for the job.