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.5
Filename, size File type Python version Upload date Hashes
Filename, size python_play-1.0.5-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-play-1.0.5.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page