On Tuesday, November 6, 2012 4:35:47 PM UTC+1, Ian wrote:
> On Tue, Nov 6, 2012 at 8:03 AM,
>
> > I've used angle brackets just for posting here,becauze this forum doesn't
> > support [code][/code]
>
>
>
> This is a Usenet group, not a web forum.
>
>
>
> > Just got answer, I didn't call a
Just got answer, I didn't call a class it's self. Correct code is:
class derivedClass(baseClassMod.baseClass):
def ..
--
http://mail.python.org/mailman/listinfo/python-list
> in what Python version ?
Python 2.7.3
> How did all those angle brackets get into the file? Are you confusing
>
> an interactive interpreter session with running source files?
I've used angle brackets just for posting here,becauze this forum doesn't
support [code][/code]
I have a file c
Hey guys,
I'm trying to understand how is working base class and derived class.
So, I have to files baseClass.py and derivedClass.py.
baseClass.py :
>>> class baseClass():
def bFunction(self):
print "We are in a base class"
derivedClass.py:
>>>import baseClass as baseClassMod
reload(
Hey guys,
I'm trying to understand how is working base class and derived class.
So, I have to files baseClass.py and derivedClass.py.
baseClass.py :
[CODE]class baseClass():
def bFunction(self):
print "We are in a base class"[/CODE]
derivedClass.py:
[CODE]import baseClass as baseClas