[Tutor] Modules and Python tutorial by S. Thurlow - opinions please
Lisi
lisi.reisz at gmail.com
Sat Aug 20 16:25:15 CEST 2011
I have got myself well and truly bogged down. I need to change the angle from
which I am looking. I only have a short while left for now in which to make
some sort of progress with Python. What do people think of:
http://www.sthurlow.com/python/
Is it reasonably accurate and therefore useful?
If not, or even in addition, what can people recommend for me to dig myself
out of the quagmire?
I am having difficulty with the "wrong" things. If statements, while or for
loops etc. don't phase me. But I am stuck on something so trivial that it is
ridiculous. I think that I understand how to write a basic function, but I
can't work out how to save and call it.
To show you what I mean:
How to save and run a bash script:
Write your script
save it in the normal manner
chmod to x for everyone you want to be able to execute it. (E.g. where owner
is root: perhaps 744)
Either move the file into a directory on your path, or add the directory that
the file is in to your path.
It will now run.
Can anyone point me to a similar set of basic instructions for Python
modules??
Thanks,
Lisi
More information about the Tutor
mailing list