[python-win32] Simple little sound mixing app that reads timing/sound data from XML file

Tim Roberts timr at probo.com
Wed Nov 20 02:03:36 CET 2013


Jacob Kruger wrote:
> As subject line says - current example .xml file is tracks.xml, and
> sound clips are in /sounds subdirectory, and it uses sound_lib to
> handle playback:

Are you looking for critique?

With the one exception of blStop in OnEvent, none of your "global"
directives are necessary.  As an overgeneralization, global variables
are bad.  That "lbc.py" module encourages you to think of your
application in a rather non-Pythonic (non-wx) way, in my opinion. 
Usually, almost your whole app would be member functions within a class
derived from wx.Dialog.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20131119/2d9d5378/attachment.html>


More information about the python-win32 mailing list