By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,550 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,550 IT Pros & Developers. It's quick & easy.

sending output

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.