Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'apps,': 0.07; 'python3': 0.07; 'bash': 0.09; 'collier': 0.09; 'python': 0.11; 'module).': 0.16; 'pygame': 0.16; 'python3.': 0.16; 'shell': 0.22; 'header :User-Agent:1': 0.23; 'fine': 0.24; 'script': 0.25; 'idea': 0.28; 'host': 0.29; 'rest': 0.29; 'external': 0.29; 'converting': 0.30; 'code': 0.31; 'received:10.0.0': 0.31; 'continues': 0.31; 'convert': 0.35; 'johnson': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'received:10.0': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'simple': 0.61; 'making': 0.63; 'email addr:gmail.com': 0.63; 'show': 0.63; 'jobs': 0.68; 'fast,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=14Cdh6Yl1ZvJFeQo58+ahf6g5FIIYPI81c84dpeoPLk=; b=0VkdFKfpyZSI/oL2VPyBTOGmg8g8Iwwt8+KJhccRfnYCNshE+anU7Z6lf6aBpey/qe 8hqg4lnsoXLRUKVO/hrQbaMu6+rEOm8beOsSV96EH8TBD44WA5c9aAsgERLRlR3ZRRPZ 5hK7Sa037Ut/UHMpzt6hh3POTOsF0PSBFIhqjh3sAI+hNPBefHh2NDXMF/aUpIgru2ip 0ucf61MBv/dBd7NK+Nzurp1o9xstmXMfLO1OouDbTHHiyd0wBlG/K9TCbz78TxFN+O3v O8g9FJFiop1OUeq6GsMFRaBcq5l7V3xU7FNvT4UfAXl8ewesRxdwA1nFMJKaFNucj0Nl kb7w== X-Received: by 10.50.32.10 with SMTP id e10mr13792998igi.10.1374282401791; Fri, 19 Jul 2013 18:06:41 -0700 (PDT) Date: Fri, 19 Jul 2013 21:06:38 -0400 From: Devyn Collier Johnson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Python Mailing List Subject: Play Ogg Files Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374282405 news.xs4all.nl 15888 [2001:888:2000:d::a6]:37797 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:50934 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