On 04/07/10 02:22, Grant Edwards wrote:
> On 2010-04-06, Grant Edwards wrote:
>> On 2010-04-06, Jean-Michel Pichavant wrote:
>>> Pablo Recio Quijano wrote:
Why must be commercial, when there is open and free alternatives? Like
GNU Plot.
>>>
>>> Gnuplot is ugly. I'm using it because I d
On 04/06/10 19:47, Peter Otten wrote:
> Tim Eichholz wrote:
>
>> I think maybe I am using the wrong function. I want to paste the
>> entire 192x192 contents of cols[f] into newimage. I would think it
>> works like newimage.paste(cols[f], (x, 0, 192+x, 192)) if that's not
>> it I think I'm missing
Pretty new to Python, but I thought I understood what is meant by "an
assignment is a reference."
Until I tried to understand this.
Here is a (fragment of an) event handler for a group of three wxPython
toggle buttons. The idea is to change the appearance of the label of
the button that was press
I have the following acre meter which works for integers,
how do i convert this to float? I tried
return float ((208.0 * 208.0) * n)
>>> def s(n):
... return lambda x: (208 * 208) * n
...
>>> f = s(1)
>>> f(1)
43264
>>> 208 * 208
43264
>>> f(.25)
43264
--
http://mail.python.org/mailman/listi
On Tue, Apr 6, 2010 at 7:51 PM, jdbosmaus wrote:
> Pretty new to Python, but I thought I understood what is meant by "an
> assignment is a reference."
I recommend the effbot's treatment of the calling semantics:
http://effbot.org/zone/call-by-object.htm
...But I don't think that's the issue here
On Tue, Apr 6, 2010 at 2:11 PM, Gustavo Narea wrote:
> Hello!
>
> Could you please confirm whether my understanding of equality
> operations in sets and lists is correct? This is how I think things
> work, partially based on experimentation and the online documentation
> for Python:
>
> When you c
On 2010-04-06 19:51:07 -0700, jdbosmaus said:
Pretty new to Python, but I thought I understood what is meant by "an
assignment is a reference."
An assignment isn't really a reference, it binds a name to an object.
Not quite the same thing. But, what's really the problem here is --
wxPython i
* jdbosmaus:
Pretty new to Python, but I thought I understood what is meant by "an
assignment is a reference."
Until I tried to understand this.
Here is a (fragment of an) event handler for a group of three wxPython
toggle buttons. The idea is to change the appearance of the label of
the button
On Apr 6, 10:16 pm, monkeys paw wrote:
> I have the following acre meter which works for integers,
> how do i convert this to float? I tried
>
> return float ((208.0 * 208.0) * n)
>
> >>> def s(n):
> ... return lambda x: (208 * 208) * n
> ...
> >>> f = s(1)
> >>> f(1)
> 43264
> >>> 208 * 2
On 2010-04-07, Lie Ryan wrote:
> On 04/07/10 02:22, Grant Edwards wrote:
>> On 2010-04-06, Grant Edwards wrote:
>>> On 2010-04-06, Jean-Michel Pichavant wrote:
Pablo Recio Quijano wrote:
> Why must be commercial, when there is open and free alternatives? Like
> GNU Plot.
On Apr 6, 11:04 pm, Patrick Maupin wrote:
> On Apr 6, 10:16 pm, monkeys paw wrote:
>
> > I have the following acre meter which works for integers,
> > how do i convert this to float? I tried
>
> > return float ((208.0 * 208.0) * n)
>
> > >>> def s(n):
> > ... return lambda x: (208 * 208) * n
On Apr 6, 11:10 pm, Patrick Maupin wrote:
> On Apr 6, 11:04 pm, Patrick Maupin wrote:
>
>
>
> > On Apr 6, 10:16 pm, monkeys paw wrote:
>
> > > I have the following acre meter which works for integers,
> > > how do i convert this to float? I tried
>
> > > return float ((208.0 * 208.0) * n)
>
> >
On Tue, 06 Apr 2010 19:16:05 +0200, egbert wrote:
> On Sun, Apr 04, 2010 at 12:10:02PM +, Steven D'Aprano wrote:
>
>> I can implement this tree using a flat dict:
>>
>> root = object()
>> data = {root: ['Mammal', 'Reptile'],
>
> What is the advantage, or thougth behind, using an instance o
On Tue, 06 Apr 2010 16:54:18 +, Duncan Booth wrote:
> Albert van der Horst wrote:
>
>> Old hands would have ...
>> stamp =( weight>=1000 and 120 or
>> weight>=500 and 100 or
>> weight>=250 and 80 or
>> weight>=100 and 60 or
>>
On 04/07/10 04:11, Gustavo Narea wrote:
> Hello!
>
> Could you please confirm whether my understanding of equality
> operations in sets and lists is correct? This is how I think things
> work, partially based on experimentation and the online documentation
> for Python:
>
> When you compare two l
What's Hot, Fashion Tips, Model's Portfolio, Fashion News, Designers,
India Fashion Week, Fashion Accessories, Fashion Polling, Fashion
Magazines, Funny facts About Fashion, more...http://www.dhangout.com/
fashion/
--
http://mail.python.org/mailman/listinfo/python-list
Love Forum, Poems, Love Letters, love Sms, Love Tips, love messages,
love, love flowers, full of love, Is it love ?, Love Articles, more...
http://www.dhangout.com/loveguru/
--
http://mail.python.org/mailman/listinfo/python-list
Indian Festivals, Astro Tips, Feng Shui, Vastu, Rudraksh, Numerology,
Lal Kitab, Chogadia ( Timeing ), Magic of Gems, Sani Dev, Astro Food,
Astro Cloths, Astro Health, Astro Travel, more..
http://www.dhangout.com/astrology/
--
http://mail.python.org/mailman/listinfo/python-list
Personality Tips, Office Ethics, Personality Disorder, Women
Personality, Men Personality, Personality Grooming, Time Management,
Yoga Tips, Social Phobia, Articles, more... http://www.dhangout.com/personality/
--
http://mail.python.org/mailman/listinfo/python-list
News, national news , international news, sports news, economic news,
business news, cricket news, daily news, latest news, local news, top
news, latest news headlines, hot gossips, top stories, news updates,
special news, world news, desi news, news and gossips, news hot, hot
hews, sexy news, loca
On 04/07/10 14:18, Steven D'Aprano wrote:
> I could have used None, or "root", or "this is a magic value that
> probably won't clash with an entry in the tree", or -1 as a sentinel
> instead, but they all risk accidental clashes with tree entries.
Especially when you want to consider the possibi
101 - 121 of 121 matches
Mail list logo