[Tutor] Advanced programmes using Python? [programming like lego blocks]

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Wed Oct 23 20:08:01 2002


On Tue, 22 Oct 2002, Alex Gillis wrote:

> I'm very new to all this and I'm told that you can create any programme
> from just a few basic commands.  I can't quite see it though.

Neither can we.  *grin*

But it's amazing how programs are a lot like Lego: the pieces themselves
are simple, but can be put together into magnificant and grotesque forms.


Have you had a chance to look at Useless Python yet?  It has a collection
of programs that you can browse through to see how these basic commands
fit together.

    http://uselesspython.com

You might not understand everything yet, but it's good to get a feel for
things.  And the programs there have been written, mostly, by people on
this Tutor mailing list, so you can always ask here about any program on
that site.


So yes, it's weird that there are only a few basic commands, but we
shouldn't be fooled: there's astonishing power in a function call or
import statement.


I hope this helps!