|
2008-09-21
, 00:57
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#2
|
The Following 4 Users Say Thank You to maacruz For This Useful Post: | ||
|
2008-09-21
, 01:36
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#3
|
|
2008-09-21
, 04:27
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#4
|
|
2008-09-22
, 16:00
|
|
Posts: 92 |
Thanked: 50 times |
Joined on Jan 2006
@ the praeternatural tower
|
#5
|
|
2008-09-22
, 18:01
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#6
|
|
2008-12-16
, 04:42
|
Posts: 18 |
Thanked: 1 time |
Joined on Jul 2008
|
#7
|
|
2008-12-16
, 06:44
|
|
Posts: 291 |
Thanked: 124 times |
Joined on Feb 2006
@ Trier, Germany
|
#8
|
hi, i am having a bit of trouble myself.. i write the souce code.. save it.. then when i push the run button it opens a terminal and says "press enter" then anything i press closes the window.. i am trying to program straight in the n810 using pyGTKEditor by khertan.. thanks for the help..
|
2008-12-16
, 22:24
|
Posts: 18 |
Thanked: 1 time |
Joined on Jul 2008
|
#9
|
|
2008-12-16
, 22:53
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#10
|
Tags |
help with python please |
Thread Tools | |
|
My question:
I did some VERY EASY development on my Windows machine with Python 2.5 installed along with PyGame 1.7. I copied my program called "time.py" over to my NIT expecting it to work there since it really is a simple program and it was copied from another NIT Python app.
On my NIT, I have been running other peoples Python scripts from:
/home/user/py
The script originally came from one already working on my NIT. I didn't change any of the imports at the beginning and the script begins with:
#!/usr/bin/python
I first used:
chmod +x time.py
But when I try to run it with ./time.py it says:
/bin/sh: ./time.py: not found
What am I not understanding here? Is this more that a file needs to be in a specific place? Is it that a Windows file has different privileges and I need to set it on Linux? I tried compiling it by running:
python -OO time.py
but it too says it cannot find the file. I know that PluThon exists but I really think this should work without installing more stuff.
Help.