Thanks for everyone's help!! Especially the link to recipe guide, that I did not find by Googling.
Here's what I came up with, a little tweaking of Starson17's original suggestion
def print_version(self, url):
segments = url.split('/')
print_url = 'http://' + segments + '/' + segments + '/' + segments + '/' + segments + '/' \
+ 'v-print/' + segments + '/' + segments
It was a matter of the segment numbers and an extra slash before 'v-print'
This is really exciting! And now I need to spend some time learning about Python, is there a "Python for Dummies"?