By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

PyDoc and mod_python

P: n/a
Hi !

I need to write documentation for my mod_python website, for the base
classes, functions, modules.
The problem, that mod_python is imported "apache" that not existing in
the normal, pythonic way (only in Apache).

If my source is containing a tag that use this module, or it's
submodule, the pydoc is not working.

### test.py ###
from mod_python import apache
....

The result is.
c:\>c:\python24\Lib\pydoc.py c:\test.py
problem in c:\test.py - ImportError: No module named _apache

So I need a cheat, or I need to force the pydoc to avoid to parse these
modules...

Is anybody have an experience, how can I do it ?

Thanks for it:
dd
Oct 11 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.