> -----Original Message-----
> From: Roger Baklund [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 21, 2002 4:03 PM
[snip]
> It looks like you have the CRLF problem... Python on win platform outputs
> CRLF for '\n', because that is normally the wanted line ending on windows
> systems... open your file in binary mode to disable this feature:
>
> f = open('datafile.sql','wb')
Indeed I should have checked again -- that did it. Perhaps I should have
asked on the Python list, after all. Still getting used to Python's
idiosyncracies.
Thanks much!
Nick
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php