LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting path in using python command (https://www.linuxquestions.org/questions/linux-newbie-8/setting-path-in-using-python-command-909869/)

LavaLampMaster 10-24-2011 02:12 PM

Setting path in using python command
 
Something obvious is escaping me,

The python exec file I'm using saves its data to the working directory, but the executable is in a different folder. I'm setting my working directory to Desktop/logdata, and tried

Code:

me@ubuntu:~/logdata$ python /home/Desktop/<pyfile path>
What should I do?

grail 10-24-2011 09:41 PM

Why not just cd to that directory and then execute python interactive shell?


All times are GMT -5. The time now is 08:56 AM.