I'm trying to write a converter for Wired magazine. I am totally new to python...how can I add the /print/ into the following URL?
http://www.wired.com/gadgets/digital...rning_question
http://www.wired.com/print/gadgets/digitalcameras/magazine/test2007/dc_burning_question
I'm thinking something like this might work....but I don't know how to make the latter part of the URL a variable that I can put back into the string.
return url.replace('wired.com/?', 'wired.com/print/?')
thanks,
bhavesh