Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail 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=CvmD0xA/M+1pYfoISsV6+OgAhO4aWcRTHi/WH3tQ42bDCIzI4FFo1BMqrFCigDliTF DdYl6+PW9wd47zVNMf4j58VmM6uATjrY8V9k2Rtai8y0XAel01sIIzYZJcez7cTfvfED BUXUNQR2Btr2td9shTMMtjIoBTosSth9mnMk5l+Gv3HUGKsAaQ21n170dvBl9GHnMf8V Lg7rrHk+r4pTgz6kDAmt3nYE0yjf1u/Jr001oS7AXzKXXRK9m5nbaQUPWQ1j+eB3vVpT RhQR5JWcWt5TooaEuVg+D3iFcr+Lz9VV6JlRDc93UMvgkxO5kqGO7ivhS1GQtKp4gtD3 kpUQ== X-Received: by 10.42.52.201 with SMTP id k9mr10516950icg.47.1374242606015; Fri, 19 Jul 2013 07:03:26 -0700 (PDT) Date: Fri, 19 Jul 2013 10:03:13 -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: 1374242614 news.xs4all.nl 15938 [2001:888:2000:d::a6]:43713 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50905 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