Extending built-in language (Win 95)

Fredrik Lundh effbot at telia.com
Mon Apr 10 17:51:17 CEST 2000


Mark Pope <M_Pope at shef.rage.co.uk> wrote:
> I've added xxmodule to the lib and recompiled. Entering:
> a = xx.new()
> just gives a name error on xx.
>
> Have I missed something?

1) the Modules/Setup file is used to add modules
to the standard library.

2) you forgot to *import* the xx module.

</F>





More information about the Python-list mailing list