Hi Folks, my first post here. Sorry to start with a request.
I'm having trouble executing python scripts compiled to byte code on ubuntu feisty server version. Basically I can type ./MyScript.py and the script runs fine but if I compile the script and type ./MyScript.pyc it won't run, I just get some junk characters printed to my terminal that mean nothing.
Now if I type python MyScript.pyc it runs fine. I guess it's a path thing, but I'm not too sure how to solve it.
Silly thing is, on my feisty workstation all works as expected.
Anyone have any ideas how I might fix this problem.
I'm having trouble executing python scripts compiled to byte code on ubuntu feisty server version. Basically I can type ./MyScript.py and the script runs fine but if I compile the script and type ./MyScript.pyc it won't run, I just get some junk characters printed to my terminal that mean nothing.
Now if I type python MyScript.pyc it runs fine. I guess it's a path thing, but I'm not too sure how to solve it.
Silly thing is, on my feisty workstation all works as expected.
Anyone have any ideas how I might fix this problem.
Comment