On 25 Feb 2005, at 14:09, Harper, Gina wrote:

I would start with something like this:
somestring = '/foo/bar/beer/sex/cigarettes/drugs/alcohol/'
somelist = somestring.split('/')
print somelist

However - this will not work on Windows. It'd work on all the OS I usually use though ;)




Michael

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to