python calling python

Erik Max Francis max at alcyone.com
Tue Aug 22 13:42:00 EDT 2000


"G. David Kuhlman" wrote:

> As a general guide, you may want to use the
> 
>     "if __name__ == '__main':
>         main()

That should be

    if __name__ == '__main__':
        main()

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ We are all part of the human race.
\__/ Richard Ford
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.



More information about the Python-list mailing list