Thread
:
web2lrf
View Single Post
12-01-2007, 07:15 PM
#
86
kovidgoyal
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
tokens = url.split(',')
tokens[-2:-1] = ['-druck']
url = ','.join(tokens)
that's just off the top of my head you'll almost certainly have to modify it to make it work correctly.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS