Re: ANN: Python GUI development using XULRunner

2008-09-18 Thread Riccardo Galli
On 17 Set, 03:29, Todd Whiteman [EMAIL PROTECTED] wrote: I've put together a tutorial that shows off how to build a GUI application using XULRunner (same architectural components as Firefox uses) that can be used in conjunction with the Python programming language. The tutorial covers how to

Re: Boss wants me to program

2005-07-02 Thread Riccardo Galli
,...). It's hard to find googling so I let you know it here. curses-extra is its name http://www.sideralis.net/index.php?action=4pjid=20 Bye, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there something similar to ?: operator (C/C++) in Python?

2005-06-24 Thread Riccardo Galli
this. Bye, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Riccardo Galli
wrong. Thank you, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Riccardo Galli
On Thu, 23 Jun 2005 11:34:02 +0200, Andreas Kostyrka wrote: What's wrong with (os.path.join(d, x) for x in os.listdir(d)) It's short, and easier to understand then some obscure option ;) Andreas how does it help in using list comprehension, as the ones in the first post? -- Riccardo

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Riccardo Galli
On Thu, 23 Jun 2005 12:56:08 +0300, Konstantin Veretennicov wrote: On 6/22/05, Riccardo Galli [EMAIL PROTECTED] wrote: I propose to add an 'abs' keyword which would make os.listdir return the absolute path of files instead of a relative path. What about os.listdir(dir='relative/path', abs

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Riccardo Galli
are absolute or relative should depend on the initial argument to os.listdir. Daniel I got the point, and you're right. I didn't though about that and 'abs' as keyword becomes nonsense. Needing a more general kewyword, as pointed out by Peter Otten -- Riccardo Galli Sideralis Programs http

Re: User interfaces in console (dialog like)

2005-06-23 Thread Riccardo Galli
graphic interface libraries, which show more than a coloured rectangle. For *nix, there is also curses-extra, which offers various widgets (textview,combobox,radio and checkbuttons and so on). http://www.sideralis.net/index.php?action=4pjid=20 Bye, Riccardo -- Riccardo Galli Sideralis Programs

Re: PEP ? os.listdir enhancement

2005-06-23 Thread Riccardo Galli
): return (join and join(dir,x) or x for x in os.listdir(dir)) os.listdir is actually supposed not to be a generator, like you suggested. Are there known future changes ? Bye, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python

PEP ? os.listdir enhancement

2005-06-22 Thread Riccardo Galli
What do you think about this ? Thanks for reading, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: dynamic

2005-06-17 Thread Riccardo Galli
On Wed, 15 Jun 2005 11:50:27 +0200, Riccardo Galli wrote: Hi. Thanks to all who answered. Scott David posted a solution (clever, scott) which was what I asked for, but I noticed some oddness while using it (about __init__). I also understood that this way should be avoided. I ended up using

dynamic

2005-06-15 Thread Riccardo Galli
pretty sure it involves using __new__ on Foo, but I can't figure out how to make it works. Any help is appreciated. Thank you, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

__new__ and dynamic inheriting

2005-06-15 Thread Riccardo Galli
pretty sure it involves using __new__ on Foo, but I can't figure out how to make it works. Any help is appreciated. Thank you, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: dynamic

2005-06-15 Thread Riccardo Galli
way I see to make this single class inherith from the choosed nx class is this one. If there is a better approach, I can implement it. Thank you for the answer, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Fast text display?

2005-06-08 Thread Riccardo Galli
(and probably in Mac too) GUI cross platform need external support, in a OS or in another. Bye, Riccardo -- Riccardo Galli Sideralis Programs http://www.sideralis.net -- http://mail.python.org/mailman/listinfo/python-list