[Tutor] Defining a File path

Emile van Sebille emile at fenx.com
Tue Jan 10 22:56:59 CET 2012


On 1/10/2012 11:31 AM Adrian said...
> Hi guys,
> I know that if i dont include any path information, python looks
> in the current directory for the file. My question is how do i
 > specify a file path to open a file saved on my desktop for example.

There's lots of ways that depend on your platform and specific needs.

Google python path search for some ideas, and ask with more specifics.

Emile




More information about the Tutor mailing list