Redefining "\n"
Chris Liechti
cliechti at gmx.net
Sun Feb 17 11:25:45 EST 2002
More information about the Python-list mailing list
Sun Feb 17 11:25:45 EST 2002
- Previous message (by thread): Redefining "\n"
- Next message (by thread): Redefining "\n"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
martin at v.loewis.de (Martin v. Loewis) wrote in news:m3bseouu8b.fsf at mira.informatik.hu-berlin.de: > Dale Strickland-Clark <dale at riverhall.NOTHANKS.co.uk> writes: >> Is there some way to redefine the "\n" escape sequence? > The only way to do achieve that is to change the Python interpreter. or do it on each string manualy: >>>'abcd\n'.replace('\n','\r\n') -- Chris <cliechti at gmx.net>
- Previous message (by thread): Redefining "\n"
- Next message (by thread): Redefining "\n"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list