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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to