<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16521"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Oh yes, and considered class implementation, but,
haven't bothered as of yet, since, like said, this was actually more of a form
of testing/trying out XML parsing to start off with.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Also, presume with regards to global keyword usage,
while it may not always be required/necessary, unless you want to be 100% sure
referral to something like that blStop, sort of boolean switch variable is
definitely referring to correct object/element, I was maybe also just being
careful, but, will have a look around for a bit more documentation regarding
this side of it - sorry, but, python is also sort of like my secondary platform,
so am definitely not perfect in my workings with it as
such...<smile>...and, things like the blStop switch variable are generally
the type of thing would try use if was running something like the playback
routines in another, background thread process, or something, instead of how
this one is currently operating.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Stay well</FONT></DIV>
<DIV><BR>Jacob Kruger<BR>Blind Biker<BR>Skype: BlindZA<BR>'...fate had broken
his body, but not his spirit...'<BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=timr@probo.com href="mailto:timr@probo.com">Tim Roberts</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=python-win32@python.org
href="mailto:python-win32@python.org">Python-Win32 List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 20, 2013 03:03
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [python-win32] Simple little
sound mixing app that reads timing/sound data from XML file</DIV>
<DIV><BR></DIV>
<DIV class=moz-cite-prefix>Jacob Kruger wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:BB71FDB8B3EE45C8B3C3C27A73583619@JakesPC type="cite">
<META name=GENERATOR content="MSHTML 10.00.9200.16521">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial>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:</FONT></DIV></BLOCKQUOTE><BR>Are you looking for
critique?<BR><BR>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.<BR><PRE class=moz-signature cols="72">--
Tim Roberts, <A class=moz-txt-link-abbreviated href="mailto:timr@probo.com">timr@probo.com</A>
Providenza & Boekelheide, Inc.
</PRE>
<P>
<HR>
<P></P>_______________________________________________<BR>python-win32 mailing
list<BR>python-win32@python.org<BR>https://mail.python.org/mailman/listinfo/python-win32<BR></BLOCKQUOTE></BODY></HTML>