sending output
Peter Otten
__peter__ at web.de
Sun Feb 15 07:52:56 EST 2004
Fknapp wrote:
> I'm new to boa constructor, however I went through the tutorial and
> loved it. I am trying to create a simple math program for my 6 yr old
> daughter, I am creating a window that askes for two numbers and then
> asks for the total, based on what they enter it compares and says that
> is correct or that is wrong. I created a python script that works,
> however when I try to import and say "myscript".DoThis() I get all
> kinds of sytax errors. Any help would be appriciated
Let's see:
>>> "myscript".doThis()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'str' object has no attribute 'doThis'
>>>
Failing, but definitely *not* a syntax error. Please post _real_ if short
code and _actual_ tracebacks (cut and paste).
Peter
More information about the Python-list
mailing list