Am 2006-11-11 um 21:01 schrieb Nate Lowrie:

> 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.

The string module ist mostly obsolete, because you better use the  
properties of any string.
And most of the other modules you mention are surely interesting, but  
not "core" stuff to know.

Of course, everyone needs os, os.path and sys; to master re (regular  
expressions) gives a boost in productivity; I often need datetime.

I also often use pprint, shutil, stat, subprocess, codecs, and  
xml.dom or xml.sax, but that's much more specialized.

Even if the number of Python modules is really amazing, for Perl  
there are a lot more, also in "exotic" areas. E.g. I had to write my  
own moon phase calculation as I moved my calendar generator from Perl  
to Python...

> Also, for distribution of your applications, it is very important to
> become familiar with distutils, and setuptools isn't a bad module
> either.

But you can leave these until you want to distribute your apps.

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
http://www.cacert.org (I'm an assurer)



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to