On 2:59 PM, Lawrence D'Oliveiro wrote:
In message, Dennis
Lee Bieber wrote:
On Windows, the I/O system for text files converts into a
on input, and on output converts to.
Is it Windows doing that, or is it some Visual Studio library?
Windows OS itself does not transform any newlines at
In message , Dennis
Lee Bieber wrote:
> On Windows, the I/O system for text files converts into a
> on input, and on output converts to .
Is it Windows doing that, or is it some Visual Studio library?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 8, 2010, at 9:33 PM, Dennis Lee Bieber wrote:
On Fri, 8 Oct 2010 14:52:33 -0700, aurfal...@gmail.com declaimed the
following in gmane.comp.python.general:
Hi all,
Unsure how to deal with what appears to be \n vs \r issues.
The following code works in Linux;
o = open("axenfs.reg")
n =
On Oct 8, 2010, at 4:27 PM, Ian Kelly wrote:
On Fri, Oct 8, 2010 at 3:52 PM, wrote:
Hi all,
Unsure how to deal with what appears to be \n vs \r issues.
The following code works in Linux;
o = open("axenfs.reg")
n = open("axenfs2.reg", "a")
while 1:
line = o.readline()
if not line: break
l
On 08/10/2010 22:52, aurfal...@gmail.com wrote:
Hi all,
Unsure how to deal with what appears to be \n vs \r issues.
The following code works in Linux;
o = open("axenfs.reg")
n = open("axenfs2.reg", "a")
while 1:
line = o.readline()
if not line: break
line = line.replace("dword:0","dw
On Fri, Oct 8, 2010 at 3:52 PM, wrote:
> Hi all,
>
> Unsure how to deal with what appears to be \n vs \r issues.
>
> The following code works in Linux;
>
> o = open("axenfs.reg")
> n = open("axenfs2.reg", "a")
> while 1:
> line = o.readline()
> if not line: break
> line = line.replace("dword:0
Hi all,
Unsure how to deal with what appears to be \n vs \r issues.
The following code works in Linux;
o = open("axenfs.reg")
n = open("axenfs2.reg", "a")
while 1:
line = o.readline()
if not line: break
line = line.replace("dword:0","dword:044e")
n.write(line)
n.close()
But in Wind
Hi all,
Unsure how to deal with what appears to be \n vs \r issues.
The following code works in Linux;
o = open("axenfs.reg")
n = open("axenfs2.reg", "a")
while 1:
line = o.readline()
if not line: break
line = line.replace("dword:0","dword:044e")
n.write(line)
n.close()
But in