Quote:
Originally Posted by kiklop74
Complicating things.
Always keep it simple.
Code:
def print_version(self, url):
uneeded, sep, article_id = url.rpartition('artid=')
return 'http://www.vg.no/pub/skrivervennlig.hbs?artid=' + article_id
|
Worked like a charm.. I really don't have a clue what I'm doing...
Anyway thanks alot, man

I'm so grateful..