> I assume that this only workls with python 2.2.2 since I got this error 
> message running against python 1.5.2:

It should work, but i haven't tested...

> Traceback (innermost last):
>   File "./console.py", line 115, in ?
>     interact()
>   File "./console.py", line 103, in interact
>     python_version = sys.version.split(' ')[0]
> AttributeError: 'string' object has no attribute 'split'
> Xlib: unexpected async reply (sequence 0x27)!

... like you can see here. Try string.split(sys.version, ' ')

> It might be better for specifying the interpreter to use as:
> 
> #!/usr/bin/env python
> 
> instead of:
> 
> #!/usr/bin/python

Yes, my miss

> How is this better than the previous threaded version that you worked on?

It reuses more code from the code module. I think that it not uses
thread it self is a huge improvement, but that's me :)
And it should be compatible with both pygtk1 and 2.
Otherwise from that it's about the same, you can do:
w = Window()
w.show()
And the window shows immediately, that's more or less the main feature.
To be able to do stuff directly instead of waiting for the mainloop to
be called.

-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to