string caracters:

luca72 lucaberto at libero.it
Thu Apr 22 08:33:06 EDT 2010


i get a string from a web server and i save it in to a file, that i
open the file and i read the string:
the string looks like :
http://lhti.gs/JKBTYD
after the read i use webbrowser open (sting), but i get the error
because at the end of the string are added '%0D%0A', and if i ask for
the len of the sting it include also the"'%0D%0A".
My question is how i can cut the last part of the string if it is
every time different?

Luca



More information about the Python-list mailing list