![]() ![]() See the bundled LICENSE file for more information.Solution home Products, Downloads, Pricing and User Guides FireDaemon OpenSSL OpenSSL 3.1, 3.0 and 1.1.1 Binary Distributions for Microsoft Windows This software is Copyright (c) 2021 Taylor Marks. You can check the Travis-CI status for Playsound here: Copyright Playsound includes a small set of tests - if you’re making a PR, please ensure that you have no regressions and all the tests pass on your local system.Īlso make sure that Travis-CI, which runs these tests against Windows Server 2016, macOS 10.11 (El Capitan, 2015) and 11.3 (Big Sur, 2020), Ubuntu 14 (Trusty), and Ubuntu 18 (Bionic), for both Python 2.7 and 3.9, fully passes. If you’d like other Linux distros (or any other OS) to work, submit a PR adding in support for it, but please make sure it passes the tests (see below). I expect any Linux distro with a standard gnome desktop experience should work. Known to work on Ubuntu 14.04 and ElementaryOS Loki. In general, anything QuickTime can play, playsound should be able to play, for OS X. WAVE and MP3 have been tested and are known to work. Setting it to False makes the function run asynchronously. There’s an optional second argument, block, which is set to True by default. ![]() It requires one argument - the path to the file with the sound you’d like to play. The playsound module contains only one thing - the function (also named) playsound. Once you’ve installed, you can really quickly verified that it works with just this: > from playsound import playsound > playsound ( '/path/to/a/sound/file/you/want/to/play.mp3' ) Documentation The latest version of the source code can be found at: You know how to do it already and don’t need my help. If you insist on the (slightly) harder way of installing, from source, Pure Python, cross platform, single function module with no dependencies for playing sounds. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |