monkeys paw wrote:
I'm trying to subclass urllib2 in order to mask the
version attribute. Here's what i'm using:
import urllib2
class myURL(urllib2):
def __init__(self):
urllib2.__init__(self)
self.version = 'firefox'
I get this
Traceback (most recent call last):
File
I'm trying to subclass urllib2 in order to mask the
version attribute. Here's what i'm using:
import urllib2
class myURL(urllib2):
def __init__(self):
urllib2.__init__(self)
self.version = 'firefox'
I get this
Traceback (most recent call last):
File interactive input
to subclass urllib2 in order to mask the
version attribute. Here's what i'm using:
import urllib2
class myURL(urllib2):
def __init__(self):
urllib2.__init__(self)
self.version = 'firefox'
I get this
Traceback (most recent call last):
File interactive input, line 1, in module
On Feb 28, 6:53 pm, monkeys paw mon...@joemoney.net wrote:
I'm trying to subclass urllib2 in order to mask the
version attribute. Here's what i'm using:
import urllib2
class myURL(urllib2):
def __init__(self):
urllib2.__init__(self)
self.version = 'firefox'
I get