problem's with strings

Simon Brunning SBrunning at trisystems.co.uk
Mon Nov 4 10:55:08 EST 2002


> From:	Richard Mertens [SMTP:richard.mertens at wolfi.org]
> I'd like to convert a text-file von unix to windows and vice versa
> 
> Do you know a solution for this
> 
> 
> When the python script is reading the text-file i have always the Nextline
> - 
> Character on the end. How do you I remove it?
 
crlf.py in the tools/scripts directory of your Python installation converts
from Windows to Unix. You should be able to take it from there. ;-)

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk





-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list