AdricNet

Email: adric at adric.net Jabber: adric@jabber.org

I'm interested in wxPy, and get a little farther with it every time my interest flits back to it. I'm quite interested in expanding the tutorials once I get a little bit more confident at anything past the simplest wxPy guis. The ObstacleCourse is a great idea.

I'm currently using Mac OS X 10.3 here. Other than that, go look at my website http://adric.net for more about me.

starting with ChallengeInstall: I'm going to wait on the mailing lists for now :/ created this account, this page :) Panther ships with Python 2.3 :) installed wx for Panther from SF, ran the demo, clicked widgets :) grabbed tarballs of wxGlade and PythonCard for later ... installed Boa from cvs, cp'd to wacky mac-specific directory, runs :) added my JID to this page :)

on to ChallengeTutorial: Muddled through, commented on that page. My gripes about the tutorial and wxPy in general: The herd of arguments for each constructor style of coding is hard on newbies. (Not wx specific, most modern class libraries are like this) I find myself either having to take the headers as belief structures (bad memories of early java hacking: just start with public class Classname(string argsv[]) public static void main() and don't ask us to explain it for two more chapters / this semester) or spend time tangentially figuring out whether I need (for instance) to declare a wxStyle for my simple editor sub-class of wxPython (Works without one). Also I changed all of the other negative ints to -1s, to improve my own sanity, as no explanation for them was given. I feel certain that the code in the example is done The Right Way, I just need to know why that is so I can emulate it successfully. Typing in the examples and modifying the code is the best way to learn this stuff, but I need to understand the atoms of what I type in, not just memorize two or three lines of Python here and there.

Having to declare the ID_Foo constants at the top seems kludgey and not very python-like. What's the better way

and next time, ChallengeDemos ?


CategoryHomepage

AdricNet (last edited 2008-03-11 10:50:32 by localhost)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.