Re: is possible to get order of keyword parameters ?

2008-01-25 Thread rndblnch
On Jan 25, 9:01 pm, Duncan Booth <[EMAIL PROTECTED]> wrote: > rndblnch <[EMAIL PROTECTED]> wrote: > > the following example should also > > work: > > size = Point(width=23, height=45) > > w, h = size > > So you want the unpacking to depend on how the

Re: looking for a light weighted library/tool to write simple GUI above the text based application

2008-01-25 Thread rndblnch
On Jan 25, 8:43 pm, [EMAIL PROTECTED] wrote: > This means NO X-windows, NO GTK/Gnome, NO > computer mouse, on my machine (AMD Geode 500MHz CPU, VGA output). > > I would like to write some really light weighted GU interface. My > concept is to have just few user screens (about 10) controlled via 4 >

Re: is possible to get order of keyword parameters ?

2008-01-25 Thread rndblnch
On Jan 25, 5:27 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > Keyword arguments are normally treaded as "order independent". > Why do you think you need to find the order? What problem do > you wish to solve? > > -Larry On Jan 25, 7:39 pm, Duncan Booth <[EMAIL PROTECTED]> wrote: > The question re

is possible to get order of keyword parameters ?

2008-01-25 Thread rndblnch
(sorry, draft message gone to fast) i.e. is it possible to write such a function: def f(**kwargs): return result such as : f(x=12, y=24) == ['x', 'y'] f(y=24, x=12) == ['y', 'x'] what i need is to get the order of the keyword parameters inside the function. any hints ? thanks, renaud

is possible to get order of keyword parameters ?

2008-01-25 Thread rndblnch
i.e. is it possible to write a function def f(**kwargs): return -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode: matching a word and unaccenting characters

2007-11-14 Thread rndblnch
On Nov 15, 1:21 am, Jeremie Le Hen <[EMAIL PROTECTED]> wrote: > (Mail resent with the proper subject. > > Hi list, > > (Please Cc: me when replying, as I'm not subscribed to this list.) Don't know your mail, hope you will come back to look at the list archive... > I'm working with Unicode strings