Critique is good, and will check out referral to global variable definitions, etc.
Was actually using this initially as looking into processing XML file parsing, initially, and then just played with it, and, I generally just use the LBC module since it's the simplest/easiest way for me to generate layout quickly and easily, but, know should look into wx itself in more detail/depth. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' ----- Original Message ----- From: Tim Roberts To: Python-Win32 List Sent: Wednesday, November 20, 2013 03:03 AM Subject: Re: [python-win32] Simple little sound mixing app that reads timing/sound data from XML file 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, t...@probo.com Providenza & Boekelheide, Inc. ------------------------------------------------------------------------------ _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32