Cheat sheet

Riccardo T. gr3yfox.fw at gmail.com
Thu Dec 27 15:54:54 EST 2007


Carl Banks ha scritto:
> On Dec 27, 12:38 pm, "Riccardo T." <gr3yfox... at gmail.com> wrote:
>> I wrote a little cheat sheet for this wonderful language, but because of
>> my still little experience with it, I would like to have a feedback
>> Could you have a look at it and tell me what do you think about, please?
>>
>> http://greyfox.imente.org/index.php?id=73
> 
> Nice work.

I'm very glad you liked it :)

> Only questionable thing I could see is listing dict.has_key(): I'm not
> sure of it's officially deprecated but the recommended practice these
> days is to to use "key in dict_obj".

I listed it because of help(dict.has_key) doesn't show any warning about
that. However, if "in" works as well, I'll remove it very soon.

> Also, consider adding a line or two about the set objects.  (It's
> probably at least better than listing internal objects.)

I forgot it... thank you very much. I hope I'll find some more space to
write on.

> Carl Banks

--
GreyFox



More information about the Python-list mailing list