Try:
import A
class Bclass(A.Aclass)
...rest of code
On 1/10/2010 9:54 AM, tekion wrote:
All,
I have file name A.py with a class name Aclass. I have a file name
B.py with sub class of Aclass, like
import A
class Bclass(Aclass)
...rest of code
When I test it, calling B.py, I am getting:
class
The first call to test has the file_list empty but on the second call to test
the file_list is no longer empty but contains the values appended in the first
call.
Is this correct behavior? I'm using python 2.5
def test(param_1, file_list = []):
if len(file_list) == 0:
print "Em