Skip to main content

play mp3 audio files

Project description

python-play

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-play, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size python_play-1.0.4-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size python-play-1.0.4.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page