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
,...).
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
this.
Bye,
Riccardo
--
Riccardo Galli
Sideralis Programs
http://www.sideralis.net
--
http://mail.python.org/mailman/listinfo/python-list
wrong.
Thank you,
Riccardo
--
Riccardo Galli
Sideralis Programs
http://www.sideralis.net
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
):
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
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
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
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
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
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
(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
15 matches
Mail list logo