[Pythonmac-SIG] Amateur question about modules

Russell E. Owen rowen at uw.edu
Thu Nov 4 18:15:21 CET 2010


In article <4CD1E274.9000306 at codebykevin.com>,
 Kevin Walzer <kw at codebykevin.com> wrote:

> On 11/3/10 4:32 PM, Pedro Gazzola wrote:
> > "ImportError: No module named tkSnack"
> >
> > I tried to run one script on the Python Launcher and got this import error.
> >
> > So, how can I correctly import this module?
> > And where should I put it, so Python can find it.
> >
> > Thanks for any help.
> 
> 
> TkSnack is a Tkinter wrapper for the Snack sound library. You'll need to 
> install TkSnack in your site-packages path and Snack in a place where 
> Tkinter can find it like /Library/Tcl. Google can direct you to download 
> sites.

Also be warned: the snack sound library is very outdated. I suggest you 
look at pygame instead; it has a binary installer and will play sounds.

-- Russell



More information about the Pythonmac-SIG mailing list