Hi
In order to execute python script by fedora terminal ; insert #! /bin/env
python as the first line in the script.
Python scripts end with a file extension of .py, as
indicated above.
It is also possible in Unix to automatically launch the Python
interpreter without explicitly invoking it by
On Saturday 04 December 2004 11:53 pm, Cullen Newsom wrote:
> Max,
>
> Thanks for your reply. I have already tried to set my
> confirmation that this is not a file permission problem, I
> should say that I can run hello.py as root, and get the expected
> result. I can also run it as normal us
Max,
Thanks for your reply. I have already tried to set my
shebang to /usr/bin/env python. But for everyone's benefit.
I've tried it again, and the same behavior persists. As another
confirmation that this is not a file permission problem, I
should say that I can run hello.py as root, and
On Dec 5, 2004, at 00:53, Cullen Newsom wrote:
Hello List,
Here is my Error:
hello.py: line 1: print: command not found
Here is my cat hello.py:
[EMAIL PROTECTED]:~> cat hello.py
#!/usr/bin/python
print "Hello, world!"
[EMAIL PROTECTED]:~>
I know this is a Linux question (or SuSE ques
Hello List,
Here is my Error:
hello.py: line 1: print: command not found
Here is my cat hello.py:
[EMAIL PROTECTED]:~> cat hello.py
#!/usr/bin/python
print "Hello, world!"
[EMAIL PROTECTED]:~>
Here is some info which might help that I learned from an
earlier post:
>>> print repr(