[Tutor] Trying to get mp3play-0.1.15 module to work on Windows 7
Alan Gauld
alan.gauld at btinternet.com
Mon Jun 10 20:26:51 CEST 2013
On 10/06/13 18:48, Michael Sparks wrote:
> I read Practical Programming, chapter 4 and I know how to write and use
> my own modules on IDLE for Python 3.2 but now I switched to version 2.7
> and I don't know how to use a downloaded module such as mp3play-0.1.15
> written by Michael Gundlach.
OK, let's see if we can boil this question down to its basics.
IDLE should be irrelevant: it is just a development tool that has little
or no bearing on whether Python can use your module. The fact you used
to use 3.2 is also of little relevance since you are only interested in
2.7 at the moment, correct?
> The zip archive contains py files example.py and setup.py in the root
> directory of the zip including another folder called mp3play containing
> __init__.py and windows.py including matching pyc files for __init__ and
> windows. I could e-mail Gundlach himself but I thought I'd ask at least
> one of you first.
I'm guessing that this module is in a standard package format so have
you tried following the usual installation process for third party
packages? Do you know what that is? Assuming the answers to all 3
questions above is yes then you are probably best talking to the author.
If not then tell us exactly what you did to install the package, what
happened and post any error messages in full.
> I just want to see If I can play an mp3 in Python.
I suspect there are easier ways using the standard library or more well
known packages (PyGame maybe?). But for now let's focus on your package
problem...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list