12 Jan
2003
12 Jan
'03
7:12 p.m.
philrobinson wrote at 2003-1-12 14:28 -0000:
Does python not have a way to predeclare functions, so I can keep 'main()' at the top and the utils at the bottom of a file? What prevents you from defining "main" at the top?
In fact, you can. Only the call to main must be after all referenced global (external) names have been defined. Dieter