On 24/06/2012 11:13 AM, Giovanni Bajo wrote:
> Il giorno 22/giu/2012, alle ore 14:31, Martin Zibricky ha scritto:
>
>> Hi all,
>>
>> yesterday I was looking at bootloader code. I noticed that for
>> PYTHONHOME environment variable back slashes '\\' are converted to
>> forward slashes.
>>
>> Is there any reason for that?
>
> That predates my involvement with PyInstaller, as far as I can tell. It looks 
> like it's superfluous, but I would postpone the change post-2.0.
In general ALL python paths contain forward slashes regardless as
platform, since environment variables are strings they may contain
double slashes, but if you are planning on using them as paths then the
various libraries are not _guaranteed _to work, hence the conversion.

Gadget/Steve


-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to