As a beginner I initiated python with IDLE: You write a code, than save the file and run with F5.
In the past days I asked how to run scripts. I get good answers as to begin the programm with "#!/path/to/python ". It's good but not for all files e.g. files in /home/myname/Dropbox/programs/python.... are not accessible with this method. And I want to know how to deal with this problem.
Python code can be compiled and run from Sublime using
Ctrl+B
orTools->Build System->Python
. I'm just not sure why the script in your Dropbox folder won't run, have you checked the file permissions?Finally The best is to write cd and the whole path. with the use of the upper array in terminal, it is easy to write again the path. The use of control + B in sublime is less practical, in particular for input() functions. and in the terminal it is easy for the choice of python version, 2.7 or 3.4. for ruby too.