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.

Source Distribution

python-play-1.0.5.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

python_play-1.0.5-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page