Thread: Python
View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#9
Originally Posted by shortkid1101 View Post
I have it in just the basic folder like when i click on the Nokia icon i see Audio clips, documents, test, ect.
That's actually /home/user/MyDocs. To start a Python script in there, use:

Code:
~ $ python /home/user/MyDocs/test.py
When you start an X Terminal, its working directory is by default already set to /home/user (also called ~), and so this will work as well:

Code:
~ $ python MyDocs/test.py