In article <98c70d6f-5872-436b-b160-01b39d17d...@a32g2000yqm.googlegroups.com>,
Gnarlodious wrote:
>
>OK I guess that is normal, I fixed it with this:
>path=os.path.dirname(__file__)+"/Data/"
Use os.path.join() instead -- just in case you ever port to Windows
--
Aahz (a...@pythoncraft.com)
OK I guess that is normal, I fixed it with this:
path=os.path.dirname(__file__)+"/Data/"
-- Gnarlie
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 19, 8:03 am, Gnarlodious wrote:
> On Jan 18, 4:21 pm, John Bokma wrote:
>
> > Gnarlodious 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:
On Jan 18, 4:21 pm, John Bokma wrote:
> Gnarlodious 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: 'D
Gnarlodious 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