Re: [Amcl-devel] gconf
Status: Beta
Brought to you by:
lobbin
|
From: Petter E. S. <gi...@pr...> - 2003-01-13 17:36:13
|
On Mon, 2003-01-13 at 13:53, Jordi Mallach wrote: > To the text stuff? Dunno. We have to see if python works right now. I > assume it doesn't. Oh well, of course it doesn't... no python-gtk2 > here... installing. >=20 > (gnome-mud:32425): Gtk-WARNING **: invalid cast from `(unknown)' to `(unk= nown)' >=20 > (gnome-mud:32425): Gtk-WARNING **: invalid cast from `(unknown)' to `(unk= nown)' >=20 > (gnome-mud:32425): Gtk-WARNING **: invalid cast from `(unknown)' to `(unk= nown)' > Traceback (most recent call last): > File "/home/jordi/.gnome-mud/plugins/", line 70, in ? > File "/home/jordi/.gnome-mud/plugins/", line 70, in ? >=20 > Petter, do you think you can fixup monitor.py a bit? Whoa... the PyGTK stuff was written for GTK+ 1.2, remember, I suspect there's a little more than just the script breaking there... if the program is in a state in which it's advisable for me to start hacking on the Python bindings, then I'll see about bringing them up to date. Just give me a moment. :) --=20 Petter E. Stokke <gi...@pr...> http://www.gibreel.net/ #!/usr/bin/env python import sys;x=3Dsys.stdout.write;r=3Dxrange;j=3Dcomplex;f=3Dfloat;a=3Dabs;u= =3Dchr def m(c,z=3D0j,i=3D0,p=3Dlambda z,i,g:x(['',' ',g][(i>=3D128)+(a(z)>=3D2)*2= ])): while a(z)<2 and i<128:(z,i)=3D(z*z+c,i+1);p(z,i,u(32+i%93)) for s in r(25):[m(j(n*.04,(f(s)-12.5)*.08)) for n in r(-50,25)];x('\n') |