Re: Problem Pythoncard tutorial

2005-10-17 Thread Steve M
I'd say that the tutorial text (by Dan Shafer) and the file starter1.py are not in sync. The word 'self' doesn't appear in the source file, it isn't a keyword (just a convention) or a literal, and it isn't imported by wildcard or some other trickery. So just by inspection you can tell that the nam

Problem Pythoncard tutorial

2005-10-17 Thread LenS
Under the "Getting Started with Pythoncard" there is a short little example of changing the starter1.py. I have made the 2 changes and when I run the program I get the following error: Traceback error ... result = dialog.alertDialog(self, 'It works!', 'Showing Off') NameError: name 'self' is