main logo
Subject: [ProPython] how quick can someone learn python?
Author: Carl Karsten
Posted: 2007/07/31 17:03:07
 
View Entire Thread
New Search


I am trying to collect some crash course things to give to programmers who "just
need to get something done" and aren't going to spend hours/weeks learning
python to do something they can do in a few hours of something they already know.

So skip classes, skip modules/site packages, skip all the important stuff that
isn't really needed to do some simple hacking. much of it will go into "Part
1a, How to use the batteries" (basically import) and "Part 2, learn a little more."

So what does someone need to know to do 'anything' a bit more complex than
"hello world!"? (although print "hello world!" will be the first example, just
to make the point of 'how to run python apps.'

var assignment, dictionaries, list, list slicing.

There are 31 keywords:
http://docs.python.org/ref/keywords
for my goal, I think we only need:

print
for, while, if, elif, else, continue
and or not
def/return (kinda thinking that can go in P2)

There are 75 functions:
71 here http://docs.python.org/lib/built-in-funcs.html
4 more: http://docs.python.org/lib/non-essential-built-in-funcs.html

open() will go in P2

range(), cuz people like to do: for x in range(10), although I 1/2 think most
people could live without it.

Huh, so basically none. anyone see any funcs that really need mentioning at
this stage?

Carl K



 
©2007 Carl Karsten
<-- Prior Message New Search Next Message -->