> But of course: > > >>> def fun(): > global x = 10 > > SyntaxError: invalid syntax > >>>
global x x = 10 Close enough ^^; -- http://mail.python.org/mailman/listinfo/python-list
> But of course: > > >>> def fun(): > global x = 10 > > SyntaxError: invalid syntax > >>>
global x x = 10 Close enough ^^; -- http://mail.python.org/mailman/listinfo/python-list