The Following User Says Thank You to fpp For This Useful Post: | ||
|
2010-02-07
, 20:46
|
Posts: 1,086 |
Thanked: 2,964 times |
Joined on Jan 2010
|
#12
|
|
2010-02-07
, 20:48
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#13
|
I've got my file copied across and can see it in WinSCP sitting in the /opt/ folder on my n900, along with bounce and some other stuff. When I exit sudo gainroot to "run as user" (thats right?) and type in the command by the $ prompt "python helloworld.py" it cant find the file ("No such file or directory"). Do I have to navigate first to the /opt/ folder and run it from there?
BTW my next question would be, how do I navigate in xterm .. but you knew that already
cd /opt/ python helloworld.py
python /opt/helloworld.py
|
2010-02-07
, 20:54
|
Posts: 1,086 |
Thanked: 2,964 times |
Joined on Jan 2010
|
#14
|
The Following 2 Users Say Thank You to kojacker For This Useful Post: | ||
|
2010-02-07
, 20:58
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#15
|
The Following 4 Users Say Thank You to Texrat For This Useful Post: | ||
|
2010-02-07
, 21:01
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#16
|
|
2010-02-07
, 21:01
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#17
|
ETA: I see the OP and I have a disagreement there as that's where he tells you to put it. *shrug* I just don't see a reasoning for it.. better to fill the 30GB area with junk and leave the /opt/ 2GB for ready-to-go apps IMHO.
!! dont forget to copy your python files to /opt on N900. If you copy to Mydocs directory you will not be able to change the permissions to Linux execute permissions as Mydocs is a FAT file system, it does not understand permissions.
|
2010-02-07
, 21:05
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#18
|
But he said
.edit
But that doesn't probably matter if you use "python2.5 runnablescript.py" command?
./helloworld.py
|
2010-02-07
, 21:21
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#19
|
The Following User Says Thank You to slender For This Useful Post: | ||
|
2010-02-07
, 21:55
|
Posts: 26 |
Thanked: 7 times |
Joined on Feb 2010
@ São Paulo - Brazil
|
#20
|
maemo blog