View Single Post
Old 04-18-2009, 08:17 PM   #459
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by OlaNordmann View Post
Guys.. What am I doing wrong?
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
kiklop74 is offline