Hi all,
I'm a java programmer struggling to come to terms with python - bear
with me!
I'm trying to subclass a class, and I want to be able to see it's
attributes also. Here are my classes:
one.py:
*
class one:
def __init__(self):
print "one"
self
Hi,
I'm having trouble making __import__ work with the two classes
attached. The PrintHello() method can't be seen in the BMTest2 class -
what am I doing wrong here?
class one - BMTest - in BMTest.py:
import wx
from traceback import prin
Oops,
Thanks for the reply, but lets try again - I was in a real rush last
night...and I obviously posted the wrong code.
I'm trying to use the __import__ form of import because I want to dynamically
load classes from their .py files. When I run the BMTest.py file, I get the
error:
File "C:\
Thanks Diez,
Obvious when you put it that way...
--
http://mail.python.org/mailman/listinfo/python-list