From: Schollnick, B. <Ben...@xe...> - 2005-07-25 12:35:33
|
Norman, > I was re-motivated to get PythonCard working as I saw an=20 > example I liked=20 > - the RanchBiz application shown at:=20 > http://members.shaw.ca/wexsessa/RanchBiz/ The PythonCard portion of the software does not appear to be complex... And it does look interesting... > I tried mailing the author of RanchBiz but he seems to no=20 > longer be at=20 > that address. I had to change 'import from PythonCardPrototype' to=20 > 'import from PythonCard' so maybe this stuff is quite old. I=20 Ah.... This is the key to your problems with this application.... It's from a significantly earlier version of pythoncard. > > if __name__ =3D=3D '__main__': > > app =3D model.PythonCardApp(Occupancy) Here is another clue... PythonCardApp is now Application... But it's a clue that this was created under the PythonCardPrototype (see previous, above).... If you want to get it to work, check the migration guide... It explains what changes you need to make to allow a v0.7.3 (or lower) Pythoncard application work under v0.8x... http://pythoncard.sourceforge.net/migration_guide.html - Benjamin |