[Tutor] url parsing
Jay Jesus Amorin
jay.amorin at gmail.com
Sun Feb 15 11:09:09 CET 2009
Hi,
Can you please help my how to parse.
url = http://this/is/my/url/to/parse
how do i parse url to print "http://this/is/my/url/to"
i want to remove the last part of my url with is "parse". I would like to
remove the last string of my url.
i have try split, but i think it wont work as i dont know how long my url
would be in my real application.
Thanks,
Newbie,
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090215/635920a5/attachment.htm>
More information about the Tutor
mailing list