Reuse Py Modules twixt Linux & Windoze?
Kragen Sitaker
kragen at dnaco.net
Mon Aug 28 04:38:42 EDT 2000
In article <pTaq5.98709$QD5.962640 at news.corecomm.net>, lynx <a at b.c> wrote:
>there's a hack you can use to make the kernel (the fat filesystem module)
>convert the line-endings for you on the fly; give mount the "conv=auto"
>option.
This is a REALLY REALLY bad idea; I think the documentation to mount
says as much. Every time you write to a binary file on your Windows
filesystem from Linux, you will be in danger of corrupting it if the
filesystem module guesses wrong about whether or not it's binary.
I'll hazard a guess that Win32 Python will be perfectly happy with
\r-less files. \r is CR.
--
<kragen at pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we ourselves
possess.
-- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]
More information about the Python-list
mailing list