I have been reading "Python Programming on Win32" and trying to do the 
examples in it, but all of the modules do not work quite right, so I have 
had to do some debugging.  I have been trying to get a module to work 
called "demodata1.py"   The strange thing is that none of the functions in 
the module seam to work.  For example, when I type in:

bs = demodata1.getData()


as in the book example, it gives me:

AttributeError: 'demodata1' module has no attribute 'getData'


When I look in demodata1, the getData function is defined.  No other 
function in demodata1 work and I get the AttributeError every 
time.  Another symptom is that when I type in "demodata1.", the list of 
functions includes only functions that have been imported into demodata1, 
but no function that is defined in demodata1.

I am not sure if I have given enough information, but does anyone know why 
the definitions do not work?  I am using ActivePython by the way.

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to