Skip to content

adisakshya/python-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-play

MIT Licence

python-play is a python module that allows you to play mp3 audio file.

Installation

Installation requires pygame

Install the module by running

pip install python-play

Usage

Open python by running

py

then, type

>>> from python_play.player import play_it
pygame 1.9.4
Hello from the pygame community, https://www.pygame.org/contribute.html
>>> play_it('/path/to/mp3/audio/file')
Press Ctrl+C to stop

Voila!

To-Do

1. pause, play, rewind options
2. playlist support
3. support for playing other file formats