main in mac?

Park997 park997 at aol.comnotospam
Tue Mar 13 11:59:14 EST 2001


>No: if you look at the option popup menu -- which is very well hidden
>at the top right corner of your edit window, it looks like an arrow --
>there's an option called "run as __main__". This will set the __name__
>variable in the script to "__main__".
>
>Hope this helped,
>
>Just
>
Yes. That was the trick I needed. Thanks,

Wendell





More information about the Python-list mailing list