From: Kevin A. <al...@se...> - 2001-08-22 02:21:41
|
-----Original Message----- From: Ronald D Stephens [mailto:rd...@ea...] Sent: Tuesday, August 21, 2001 7:21 PM To: Kevin Altis Subject: Questions and comments... I must say that, the more I study the source code, the more impressed I get. Even to a newbie, it seems to be elegant, in that it makes sense. I do not claim to udnerstand all of the details at all, but I feel that I get the big picture. I also feel that this work will lead to some good things. By following the tutorial, I can modify the minimal.py and minimal.rsrc files and get all kinds of neat results. I wanted to share some of these results with the list, because surely any other newbie around who has doubts would be impressed that even I could modify, at this vey early stage, and get "results". But when I rename the two files (minimal.py and minimal.rsrc) I get error messages. In working my way through the various error messages, I learn and fix some things,. But I have one question that I woudl apprecite help on: In the backgrounds section of the rsrc files (I am looking at most of the sample rscr files or all of them) , I do not yet understnad where the 'name': comes from, as in bgWidgets in the following code snippet; 'backgrounds': [ {'type':'Background', 'file':'test_widgets.py', 'classname':'WidgetsTest', 'name':'bgWidgets', <= <=<=<=<= #'image':'tile.bmp', #'tiled':1, 'components': I do not understand where bgWidgets comes from , and also the anologous name under resource file backgrounds of the other samples. I think if I could understand this I might be able to fix my problems and create successfully renamed files that allow me to claim a "significant" ;-))) (bear with me OK ) first newbie PythonCard "program". This to me would be a stunning breakthrough. Anyway, I am sufficiently "hooked" to keep at it in my "spare" time. I am really looking forward to a visual gui layout tool, but I can wait; I am enjoying studying the Python code of this project! I think I will also post about the availability of this project on Byte magazine's John Udell online forum, unless Kevin objects. I just discovered this forum and lots of folks there are interested in this sort of thing, and Python is often intelligently disucussed. Ron Stephens |