In article
,
Benjamin Kaplan wrote:
> On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditter wrote:
> > In article
> > <19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41>,
> > Miki Tebeka wrote:
> >
> >> > How may I get a fresh Python shell with Idle 3.2 ?
> >> Open the configuration
On 4/10/2012 4:10 PM, Rainer Weikusat wrote:
'car' and 'cdr' refer to cons cells in Lisp, not to strings. How the
first/rest terminology can be sensibly applied to 'C strings' (which
are similar to linked-lists in the sense that there's a 'special
termination value' instead of an explicit length
On 4/10/2012 3:28 PM, Benjamin Kaplan wrote:
On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditter wrote:
In article
Hum, but when I press, Ctl-F6, nothing happens !!??!! F6 gives me char.
(MacOS-X Lion, France, Idle 3.3.0a2)
This is what Ctrl-F6 does on Windows.
>>> =
On Tue, Apr 10, 2012 at 11:36 PM, Kiuhnm
wrote:
> On 4/10/2012 14:29, Ulrich Eckhardt wrote:
>>
>> Am 09.04.2012 20:57, schrieb Kiuhnm:
>>>
>>> Do you have some real or realistic (but easy and self-contained)
>>> examples when you had to define a (multi-statement) function and pass it
>>> to anoth
On Apr 10, 3:36 am, Kiuhnm wrote:
> On 4/10/2012 14:29, Ulrich Eckhardt wrote:
>
> > Am 09.04.2012 20:57, schrieb Kiuhnm:
> >> Do you have some real or realistic (but easy and self-contained)
> >> examples when you had to define a (multi-statement) function and pass it
> >> to another function?
>
Shmuel (Seymour J.) Metz writes:
> In <20120409111329@kylheku.com>, on 04/09/2012
>at 06:55 PM, Kaz Kylheku said:
>
>>Null-terminated C strings do the same thing.
>
> C arrays are not LISP strings; there is no C analog to car and cdr.
'car' and 'cdr' refer to cons cells in Lisp, not to s
"Shmuel (Seymour J.)Metz" wrote in
message news:4f8410ff$2$fuzhry+tra$mr2...@news.patriot.net...
In <20120409111329@kylheku.com>, on 04/09/2012
at 06:55 PM, Kaz Kylheku said:
If we scan for a null terminator which is not there, we have a
buffer overrun.
You're only thinking of scanni
On Tue, Apr 10, 2012 at 2:36 PM, Franck Ditter wrote:
> In article
> <19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41>,
> Miki Tebeka wrote:
>
>> > How may I get a fresh Python shell with Idle 3.2 ?
>> Open the configuration panel (Options -> Configure IDLE).
>> Look in the "Ke
In article
<19745339.1683.1333981625966.JavaMail.geo-discussion-forums@yncc41>,
Miki Tebeka wrote:
> > How may I get a fresh Python shell with Idle 3.2 ?
> Open the configuration panel (Options -> Configure IDLE).
> Look in the "Keys" tab for the shortcut to "restart-shell"
Fine, thanks, but
On Tue, Apr 10, 2012 at 6:52 AM, Shmuel Metz
wrote:
> In <20120409111329@kylheku.com>, on 04/09/2012
> at 06:55 PM, Kaz Kylheku said:
>
>>Null-terminated C strings do the same thing.
>
> C arrays are not LISP strings; there is no C analog to car and cdr.
The post you're criticising specif
On 4/10/2012 14:29, Ulrich Eckhardt wrote:
Am 09.04.2012 20:57, schrieb Kiuhnm:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another function?
Take a look at decorators, they not only take non-trivi
Am 09.04.2012 20:57, schrieb Kiuhnm:
> Do you have some real or realistic (but easy and self-contained)
> examples when you had to define a (multi-statement) function and pass it
> to another function?
Take a look at decorators, they not only take non-trivial functions but
also return them. That s
In <87vcl81wtw@sapphire.mobileactivedefense.com>, on 04/09/2012
at 09:20 PM, Rainer Weikusat said:
>This is logically very similar to the LISP list
FSVO similar.
>This is, I think, a case where the opinions of people who have used
>C strings and the opinions of people who haven't differ
Op maandag 9 april 2012 22:51:48 UTC+2 schreef Roy Smith het volgende:
> In article
> <1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com>,
> aapeetnootjes wrote:
>
> > I'm trying out the pygame tutorial at
> > http://www.pygame.org/docs/tut/intro/intro.html
> > If I try out the
In <20120409111329@kylheku.com>, on 04/09/2012
at 06:55 PM, Kaz Kylheku said:
>Null-terminated C strings do the same thing.
C arrays are not LISP strings; there is no C analog to car and cdr.
>Code that needs to deal with null "characters" is manipulating
>binary data, not text,
That's
Janis writes:
> I have confirmed that the signal involved is SIGKILL and, yes,
> apparently OS is simply running out of memory.
This is the notorious OOM killer, sigh. There are some links from
http://en.wikipedia.org/wiki/OOM_Killer
--
http://mail.python.org/mailman/listinfo/python-list
I have confirmed that the signal involved is SIGKILL and, yes,
apparently OS is simply running out of memory.
Thank you all, again!
Best Regards,
Janis
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Dave and Shashank . I cleared the concept also.
I got it guys. In my piece of code where i was doing this
In [25]: [k for k,v in for_patient_type.iteritems() if v == "Real"]
Out[25]: [80, 81, 83, 84, 91, 93, 79]
thats what shashank suggest later. Thanks to you Dave.I cleared my concept
wh
On Tue, Apr 10, 2012 at 12:16 AM, Dave Angel wrote:
> On 04/10/2012 02:04 AM, Shashank Singh wrote:
> > On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma >wrote:
> >
> >> I am trying this but its giving me a generator object.
> >>
> >> In [9]: (k for k,v in for_patient_type.iteritems() if v == 'Rea
On 04/10/2012 02:04 AM, Shashank Singh wrote:
> On Mon, Apr 9, 2012 at 10:49 PM, Nikhil Verma wrote:
>
>> I am trying this but its giving me a generator object.
>>
>> In [9]: (k for k,v in for_patient_type.iteritems() if v == 'Real')
>>
> Iterating over a dict gives you all the keys, not the key v
20 matches
Mail list logo