Re: [pygtk] Error using Gnome Canvas

2003-06-04 Thread Alexei Gilchrist
On Wed, Jun 04, 2003 at 03:51:15PM +1200, Michael JasonSmith did merrily tap: > I am in the process of a Gtk/GNOME 1.2 -> 2 conversion and I am a bit > stuck on a error I get when I try to create item objects: > RuntimeError: could not create canvas item object > > Any idea about what this mea

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Rob Brown-Bayliss
Other options are: 1) There is a python binding to xmms 2) Use ogg instead of mp3, there are ogg vorbis python bindings and you can play an ogg directly in your python app, or as a thread... -- * Rob Brown-Bayliss * = * zoism.org ___

[pygtk] Error using Gnome Canvas

2003-06-04 Thread Michael JasonSmith
I am in the process of a Gtk/GNOME 1.2 -> 2 conversion and I am a bit stuck on a error I get when I try to create item objects: RuntimeError: could not create canvas item object Any idea about what this means? The code in question is as follows (without the references to self). group.add(

[pygtk] [ANNOUNCE] Seventh development release of PythonCADavailable

2003-06-04 Thread Art Haas
I'd like to announce the seventh development release of PythonCAD, a CAD package for open-source software users. As the name implies, PythonCAD is written entirely in Python. The goal of this project is to create a fully scriptable drafting program that will match and eventually exceed features fo

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Jesse Pavel
Hello, The easiest thing is probably to use one of the spawn[lv] functions, in the os module. "If mode is P_NOWAIT, this function returns the process ID of the new process..." and then, once you have that process ID, you can kill() it. Which signal you send depends on the program you've started,

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Christopher Shaffer
Feeling really dumb here... Looked up Process management in the Python docs (http://www.python.org/doc/current/lib/os-process.html), but I am unsure how get the process id returned to me. Here is my test code: #!/usr/bin/env python import os print "Starting process echo..."

Re: [pygtk] Controling mpg### from python

2003-06-04 Thread Jesse Pavel
Hi Chris, You could store the process ID when you start MPG123/321 and then stop it by killing it with a signal. - Jesse Christopher Shaffer on June 3, 2003 wrote: > I wasen't really sure where to ask this. Does anyone know of any Python > library/module that I can > use to control MPG32

[pygtk] Controling mpg### from python

2003-06-04 Thread Christopher Shaffer
I wasen't really sure where to ask this. Does anyone know of any Python library/module that I can use to control MPG321/MPG123 from? I don't need anything fancy. Just the ability to start an MP3 playing, and to stop it. Its the 'stop' think thats got me hung up. I can certainly start an mpg