I'm trying to run a Python program on Unix and I'm encountering some
behavior I don't understand. I'm a Unix newbie, and I'm wondering if
someone can help.
I have a simple program:
#! /home/fergs/python/bin/python
import sys, os
import cx_Oracle
Steve wrote:
I'm trying to run a Python program on Unix and I'm encountering some
behavior I don't understand. I'm a Unix newbie, and I'm wondering if
someone can help.
I have a simple program:
#! /home/fergs/python/bin/python
import sys, os
On Oct 07, Steve wrote:
I have a simple program:
#! /home/fergs/python/bin/python
import sys, os
import cx_Oracle
If I run it through the Python interpreter, this way:
python test.py
it
Steve wrote:
I'm trying to run a Python program on Unix and I'm encountering some
behavior I don't understand. I'm a Unix newbie, and I'm wondering if
someone can help.
If I run it through the Python interpreter, this way:
python test.py
it runs fine.
But if I try to run it as an
I did which python and the two paths were different. Once I fixed
the path in the script, it worked fine.
Thanks Frederik and Micah!
--
http://mail.python.org/mailman/listinfo/python-list