FAQ
Can I add my own subpackages to modules that are written in C?

I've put /Users/dpeschel/lib/python into my PYTHONPATH variable.
Inside there, I've created a termios directory, and inside termios
I've created __init__.py and signals.py. Now "import termios.signals"
works, but "import termios" only appears to work (it has no effect).
Do I have to do something sneaky in __init__.py to find the original
module, or is there a better way?

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedAug 23, '06 at 9:56a
activeAug 23, '06 at 9:56a
posts1
users1
websitepython.org

1 user in discussion

Derek Peschel: 1 post

People

Translate

site design / logo © 2022 Grokbase