Barack Obama actually said...
The only real training for the presidency is the presidency.
Context
Interview with Tim Russert on NBC News' "Meet the Press
11/10/2007
Interview with Tim Russert on NBC News' "Meet the Press