I agree with the notion of passing up learning WxPython in favor of the Dabo UI. WxPython is definitely not Pythonic in nature and it will tend to screw people up syntax wise. I will tell you right now that the Dabo UI works for almost all the jobs that you can think of. The Notable exception is widgets that provide graphing capabilities, which, given the target audience of Dabo, doesn't seem like a bad thing to add considering that matplotlib has a set of WxBindings. However, if the need is pressing for a widget with functionality not present in Dabo, send an email to the Dabo Dev list an we'll see about adding it.
As far as addon's in Python for app development it all depends on what app you are doing. PyUSB, PyParrallel, and PySerial are used for interfacing with external device through IO ports and I personally use them alot with the Dabo ui. The xml parsers are a handy alternative to database storage. Learning the os module is a must if you want to work with paths and directories in the os. PyMedia is used to play different types of audio files. The string module contains some nifty string manipulation functions. The struct module facilitates the packing of data into binary form. The list goes on and on. As you become more familiar with Python, you will discover that if the functionality you are looking for is missing in the core modules, you probably can find it by googling because the number of Python modules is truely amazing. Also, for distribution of your applications, it is very important to become familiar with distutils, and setuptools isn't a bad module either. Cheers, Nate L. On 11/11/06, Carl Karsten <[EMAIL PROTECTED]> wrote: > Peter Decker wrote: > > On 11/11/06, Carl Karsten <[EMAIL PROTECTED]> wrote: > > > >> I figure the same applies to the GUI choices: get a handle on the ones > >> Dabo uses. > > > > Yes and no. Dabo uses wxPython, but you really are not at an advantage > > learning how wxPython does things, because it is very un-Pythonic. > > It's really a very thin wrapper around a C++ project, and as a result > > looks more like C++ than Python. Probably the biggest reason I was > > attracted to Dabo initially was that the code looked like Python code! > > > > I'd say you'd be better off just focusing on the way that dabo.ui works. > > I want a taste of what I will need when (i think) the dabo.ui doesn't work and > (i think) I need to debug. which (i think) will never happen, right? :) > > > > >> Now I have a better question: what 'add-ons' should we become familiar > >> with? > > > > That's a harder question. It all depends on what sort of app you want > > to create. I know people on the Python list who work with science > > research projects and they are into programs like numpy, matplotlib, > > numeric, and other math, science and plotting libraries. Others do > > nothing but web programming, and so they focus on Django, TurboGears, > > and other web frameworks. I do a lot of small desktop GUI apps, so > > Dabo, especially dabo.ui, is just what I need. > > > > er, what 'add-ons' should we become familiar with to better our app > development > with Dabo experience? > > >> I am thinking spend 3/4 of the time leaning 'basic python' and gear it > >> towards > >> the last 1/4: using the things that dabo uses. The 3:1 ratio may even be > >> more > >> like 7:1. figure 16 hours total, 2 hours skimming over the stuff that we > >> shouldn't ever need to worry about seems about right. > > > > It's probably going to be a curve than a ratio. You'll spend more time > > initially getting Python and its syntax down, and then once you're > > familiar with that, the stuff built with Python will be more > > understandable. > > With regards to a 16 hour class. what happens after that is anyone's guess. > > Carl > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
