Spiral
Duncan Booth
duncan at NOSPAMrcp.co.uk
Fri May 31 03:57:00 EDT 2002
Chris <nospam@[127.0.0.1]> wrote in news:oVFhzeC$Vy98Ewkp@[127.0.0.1]:
>
> Thanks - and thanks to others who replied, too.
> I'm totally new to Python and so I'll have to experiment a bit -
> but does your program work with the standard Python package or do I have
> to get some add-ons? (It's the "import" that made me wonder.)
My example works with the standard Python 2.2.x provided you use a version
that comes with Tkinter (most do including the standard Windows
distribution). The easiest way to run it is to run the 'Idle' gui that also
comes as part of the normal distribution.
The 'turtle' module is part of the standard library: almost everything in
Python lives in a module and has to be imported before you can use it: even
the cos and sin functions I used were imported from turtle (which in turn
had imported them from math).
--
Duncan Booth duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
More information about the Python-list
mailing list