Importing "Modules"

Adrian Eyre a.eyre at optichrome.com
Tue Mar 21 06:45:25 EST 2000


> Constants.pyc
> [snip]

Call this file "Constants.py". The .pyc will be generated for you.

> Test.py
> -----------------------------------------------------------
> import constants

This needs to be "import Constants". Python is case-sensistive.

> [snip]

HTH

-----------------------------------------------------------------
Adrian Eyre <a.eyre at optichrome.com> - http://www.optichrome.com 





More information about the Python-list mailing list