Py 3: Terminal script can't find relative path

John Bokma john at castleamber.com
Tue Jan 19 00:21:48 CET 2010


Gnarlodious <gnarlodious at gmail.com> writes:

> I am running a script in a browser that finds the file in subfolder
> Data:
>
> Content=Plist('Data/Content.plist')
>
> However, running the same script in Terminal errors:
>
> IOError: [Errno 2] No such file or directory: 'Data/Content.plist'

What does:

ls -l Data/Content.plist

in the terminal give?

-- 
John Bokma                                                               j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development



More information about the Python-list mailing list