[Tkinter-discuss] Python with Snack
Russell E. Owen
rowen at uw.edu
Thu Dec 3 22:32:23 CET 2009
In article <4B17DF49.4030906 at codebykevin.com>,
Kevin Walzer <kw at codebykevin.com> wrote:
> On 12/3/09 10:40 AM, Michael Lange wrote:
> > I don't know what's going wrong here, but I think it should be fine to
> > simply copy the tkSnack module into Python's site-packages folder.
> Will distutils/setuptools actually build the binary Snack library? It's
> a Tcl/Tk library, not a Python library. tkSnack.py is just a wrapper.
> The OP is probably better off downloading the Windows binary, installing
> it in the appropriate directory (wherever the other Tcl/Tk libs are on
> his system), and then trying to install tkSnack.py.
I agree. I am pretty sure distutils will not build the snack library.
I used to install it on Windows by downloading the binary release for
windows with python (but it only goes up to Python 2.3). Then follow the
instructions on the web site: "Installation (with Python)".
But...I recommend not using snack at all. It appears to have been
I used to use it, but switched to pygame. I chose pygame because (like
snack, except snack is no longer maintained):
- It is fully cross-platform (Mac, unix and windows)
- It plays sounds asynchronously
- It is released and well maintained
- It is easy to use and easy to install
Note that pygame does much more than play sounds. But you can ignore the
extra capabilities if you don't need them.
There are a number of sound packages, but I found none that were
cross-platform, fully released (version 1.0 or later) and still actively
More information about the Tkinter-discuss