Following on the heels of that, the latest edition of The Economist has an article that makes the same point: professional economists, by a large margin, prefer Barack Obama's economic policies to those of John McCain. This is taken from hilzoy.
From The Economist:
"A survey of academic economists by The Economist finds the majority -- at times by overwhelming margins -- believe Mr Obama has the superior economic plan, a firmer grasp of economics and will appoint better economic advisers. (...)Eighty per cent of respondents and no fewer than 71% of those who do not cleave to either main party say Mr Obama has a better grasp of economics. Even among Republicans Mr Obama has the edge: 46% versus 23% say Mr Obama has the better grasp of the subject. "I take McCain's word on this one," comments James Harrigan at the University of Virginia, a reference to Mr McCain's infamous confession that he does not know as much about economics as he should."
(It should, however, be acknowledged that the economists self-identify as Democratic. Steven Levitt, author if Freakonomics, discusses the political leanings of economists here.)