How can I use my modules here?

Albert Hopkins marduk at letterboxes.org
Fri Sep 11 07:48:49 EDT 2009


On Fri, 2009-09-11 at 02:29 -0700, Chris Rebert wrote:
> For some reason, your Python program is being executed by bash as if
> it were a shell script, which it's not.
> No idea what the cause is though.

Because the first 2 bytes of the file need to be #!/path/to/interpreter,
the OP has:

    ############ main.py Begin ##############

This won't work.




More information about the Python-list mailing list