Problem embedding Python.

Gabriel Genellina gagsl-py2 at
Wed Oct 28 01:48:16 CET 2009

En Tue, 27 Oct 2009 06:36:18 -0300, Brandon Keown
<keown.brandon at> escribió:
> On Oct 27, 2:47 am, "Gabriel Genellina" <gagsl-... at>
> wrote:
>> You didn't test for the fopen result; are you sure "" exists in  
>> the current directory at the time you run it?
> Ok, so I assumed that the file, if supplied without a path, would use
> current working directory, which was evidently a false assumption.

Now that you've solved your problem, revise your conclusion. A file
without a path *is* searched in the current working directory - but that
directory may not be the one you think it is.

Gabriel Genellina

More information about the Python-list mailing list