python on unix [getting started]

Erik Max Francis max at alcyone.com
Sun Nov 17 02:17:57 EST 2002


dsavitsk wrote:

> In particular, I would like to control mpg123 (i think?).  what is the
> proper way to think about doing something like
> 
> player = win32com.client.Dispatch('mpg123.player')
> player.play('/usr/home/mp3/Some Song.mp3')
> 
> on unix?

Probably something like

	os.system('mpg123 "/usr/home/mp3/Some Song.mp3"')

You will likely find getting things done on UNIX with Python much less
circuitous than on Windows.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ We are victims of our own design
\__/ Oleta Adams
    Bosskey.net: Return to Wolfenstein / http://www.bosskey.net/rtcw/
 A personal guide to Return to Castle Wolfenstein.



More information about the Python-list mailing list