Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50934
| Date | 2013-07-19 21:06 -0400 |
|---|---|
| From | Devyn Collier Johnson <devyncjohnson@gmail.com> |
| Subject | Play Ogg Files |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4895.1374282405.3114.python-list@python.org> (permalink) |
Aloha Python programmers!
I am making a chatbot that I host on Launchpad.net/neobot. I am
currently converting the engine from BASH code to Python3. I need to
convert this for cross-platform compatibility. I do not need to use
Mplayer; I just show the below code to give others a better idea what I
am doing. I would prefer to be Python3 independent; I do not want to use
the system shell. I am fine with using Python3 modules like Pygame (if
there is a py3 module). As long as the code is fast, efficient, and
simple without depending on the system shell or external apps, that
would be nice. I also need the code to execute while the rest of the
script continues running.
jobs = multiprocessing.Process(SEND = subprocess.getoutput('mplayer
-nogui -nolirc -noar -quiet ./conf/boot.ogg')) #Boot sound#
Mahalo,
Devyn Collier Johnson
DevynCJohnson@Gmail.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Play Ogg Files Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-19 21:06 -0400
csiph-web