[CentralOH] Learning and Growing with Python

miles groman miles.groman at gmail.com
Mon Nov 9 15:14:04 CET 2009


Eric,

I think going over "The Python way to do _______" every meeting would
be beneficial.  Python is simple to pick up, but doing things the
"Python" way is not always as clear.  Sometimes I will ask a question
about some code I am working onin #python, only to find out I wasnt
doing it the "pythonic" way.

A bad example:

my_list = []
for foo in bar:
    my_list.append(foo)

vs.

my_list = [foo for foo in bar]

Things like that might not be clear to a person just starting python.


I think I heard someone say something along these lines at the last meeting.


Also, sorry if my formatting gets messed up in transmission.


More information about the CentralOH mailing list