Newbie simple py2exe problem

Michael Urban urba0083 at tc.umn.edu
Sat Jan 11 14:58:00 EST 2003


Michael Urban wrote:


> And therin lies your syntax error. "from distutils.core import setup" 
> cannot be indented since Python uses indentation for delimiting code 
> blocks. "from" is part of the main block.

I should add that none of this should be intented since all of it is 
part of the main conde block. So remove your intentation and you will be 
fine.






More information about the Python-list mailing list