Making a string raw
Rune Nesheim
rune at nesheim.net
Tue Dec 4 13:14:58 EST 2001
More information about the Python-list mailing list
Tue Dec 4 13:14:58 EST 2001
- Previous message (by thread): Making a string raw
- Next message (by thread): Making a string raw
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Could any of you lot tell me how to convert a string stored in avariable to a raw string? I know I create a raw string this way: spam = R'hello' But if I don't know what the string is going to contain, for example if I fetch from a Tkinter text-box to the variable 'eggs' and want to convert 'eggs' into a raw string.
- Previous message (by thread): Making a string raw
- Next message (by thread): Making a string raw
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list