Hello community!
I write a modules for testing, and my code is like this(under Linux):
$ tree
.
|-- MyTestModules
| |-- Test1.py
| |-- Test2.py
| `-- __init__.py
`-- main.py
1 directory, 4 files
$ find . -name '*.py' -print0|xargs -0 cat
main.py Begin ##
On Fri, Sep 11, 2009 at 2:24 AM, Kermit Mei kermit@gmail.com wrote:
Hello community!
I write a modules for testing, and my code is like this(under Linux):
$ tree
.
|-- MyTestModules
| |-- Test1.py
| |-- Test2.py
| `-- __init__.py
`-- main.py
1 directory, 4 files
$ find .
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:
On Fri, 2009-09-11 at 07:48 -0400, Albert Hopkins wrote:
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
Chris Rebert wrote:
On Fri, Sep 11, 2009 at 2:24 AM, Kermit Mei kermit@gmail.com wrote:
Hello community!
I write a modules for testing, and my code is like this(under Linux):
$ tree
.
|-- MyTestModules
| |-- Test1.py
| |-- Test2.py
| `-- __init__.py
`-- main.py
1 directory, 4