Quote:
If you use string, you need to import it. You don't need it, however. Try:
split1 = url.split("/")
instead of
split1 = string.split(url,"/")
|
Haivng limited knowledge of python (but learning) I'm not sure what you mean if I use string I need to import it. I'll try without.
You also mentioned to try print to make sure it's chopping up correctly, well I tried in a python editor previously and it's chopping up the string as I expected. I'm just not passing it back properly.