fredrik at pythonware.com
Sat Nov 26 13:26:11 CET 2005
Dan Stromberg wrote:
> What's the best way of converting this:
> ...to something easily usable in a python CGI script?
easily usable for what purpose?
if you want to extract the URL that seems to be hidden in that string,
url, junk = text.split("\x01", 1)
junk, url = url.split("\\?", 1)
More information about the Python-list