rjc at tampabay.rr.com
Tue Sep 30 23:28:21 CEST 2003
But in PyKyra most ever Python file begins with _pyKyra.
"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.1064947483.21334.python-list at python.org...
> Robert> When a Python program declares import _XXXX. What form is
> Robert> when the underbar is included (_XXX)?
> There's no special form. The leading underscore is there to alert people
> they should not normally import that module directly. For example, people
> should import bsddb, not _bsddb. Same goes for (the third part modules)
> MySQLdb and _mysql. In both cases, the former builds on the latter.
More information about the Python-list