The Cave

10 Jun

Simple Programs

Simple Python example programs illustrating language features in the simplest possible form. For example, #2 Looping
for name in ['peter', 'paul', 'mary']:
print name
is a concise but definitive explain-by-example how to write a loop in Python. The biggest one (Classes or itertools) is only about a dozen lines. Neat idea, and good resource for those learning Python.

FacebookGoogle GmailGoogle BookmarksTechnorati FavoritesTwitterHotmailYahoo MailYahoo MessengerWordPressStumbleUponRedditEmailInstapaperGoogle+Share

Comments are closed.

© 2014 The Cave | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo