The python console is unable to use global variables inside of functions and some other scopes.
This makes it really annoying when trying to test out engine or app code interactively.
x = 5 def test(): print x test()
For example this code gives me
NameError: global name 'x' is not defined