Cheat sheet

James Matthews nytrokiss at gmail.com
Thu Dec 27 17:48:03 EST 2007


Looks good thanks!

On Dec 27, 2007 11:06 PM, Scott David Daniels <Scott.Daniels at acm.org> wrote:

> Riccardo T. 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
> >
> > --
> > GreyFox
>
> [in the .png]
>  > ...
>  > Callable types
>  >    ...
>  >    User-definet methods
>
> I personally prefer "User-defined methods"
>
>  >    ...
>  >    Class instances
> I'd try:
>      Class instances with a __call__ method.
>
>  > ...
>  > Classes
>  > Classes Instances
>
> This probably wants to be
>   Class Instances
>
> "file" objects are generally supposed to be built with the
> open function, not instantiated as shown.
> Also note iterating on a file gets the lines.
>
> Do you know about seq[i:] and seq[::-1]?
>
> --Scott David Daniels
> Scott.Daniels at Acm.Org
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
http://search.goldwatches.com/?Search=Movado+Watches
http://www.jewelerslounge.com
http://www.goldwatches.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071227/f90ddf31/attachment.html>


More information about the Python-list mailing list