[Tutor] Where should I save my programs?

Francis Moore Francis.Moore at shaws.co.uk
Fri Jul 2 11:56:31 EDT 2004


From: John Matthews [mailto:jmatthews at mcb-inc.com] 

John,

> I have been saving my programs directly in C:\Python23\. 
> Can someone suggest a good folder organization that will not clutter
up 
> one of the 'official' Python folders and solve these other problems? 

Have you got another hard drive?
Or another partition on your hard drive?
If so, I would suggest placing all your programs there.  
What you call it is up to you (i.e. D:\Python, D:\MyPython etc...)

> If I need to give Python a path to my files, how does that work? 

Assuming you've got an env variable set for Python, you should just 
be able to type at the command prompt:

'python d:\MyPython\my_python_file.py'

Or set default to the directory where your python script is and 
just type:

'python my_python_file.py'

Cheers,
Francis. 
  
CONFIDENTIALITY NOTICE 
This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error please notify us by e-mail or by telephone (+44(0) 1322 621100) and then delete the e-mail and any copies of it.  
This communication is from Shaw & Sons Limited whose registered office is at Shaway House, 21 Bourne Park, Bourne Road, Crayford, Kent DA1 4BZ. The views expressed in this communication may not be the views held by Shaw & Sons Limited. 
This message has been checked for all known viruses by McAfee VirusScan. 
 



More information about the Tutor mailing list