Example (cont)

Step four: Use your module

     linux % python
     Python 1.5.2 (#1, Jul 11, 1999 13:56:44) [C] on linux
     Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
     >>> import spam
     >>> spam.gcd(63,56)
     7
     >>> spam.gcd(71,89)
     1
     >>>

It's almost too easy...

<<< O'Reilly OSCON 2000, Advanced Python Programming, Slide 123
July 17, 2000, beazley@cs.uchicago.edu
>>>