RE: [hackers-il] Re: [Haifux] Python Lecture
- I do not speak python so I am probably qualified to comment... I didn't
understand the meaning of c[0:1] in slide 7.
From: guy keren [mailto:choo@...]
Sent: Tuesday, March 12, 2002 3:18 PM
Cc: Haifa Linux Club; email@example.com
Subject: [hackers-il] Re: [Haifux] Python Lecture
On Tue, 12 Mar 2002, mulix wrote:
> first draft of the lecture slides available at
slide 8, give a concrete example of an 'if' command, like you did
with the 'while' command.
regarding 'range': state if the ends aer inclusive or exclusive. it
_looks_ like the start is inclusive, while the end is exclusive
(.e. up to one before the given number). or perhaps its not the
last number in the range, but rather the number of elements in the
range to generate for the list?
slide 10, definition of function 'f' lacks a parameter:
def f: --> def f(a):
when showing filter, map, 'for' and 'del', write a comment stating
what the output is, like you did in the rest of the examples.
slide 11, part after 'more conditionals' - what is conditional about these
slide 15: you run a perl script from a python function? blashphemy! :)
general: 'upload.py' is too long to serve as a first script example, and
introduces too many library functions for a first script
(REs, OS APIs). better put the googler.py first.
also good to put the compile_test.py before upload.py .
you won't have time to go over all the examples - the tutorial
part will take more then an hour, in my opinion.
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/