Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:17:06+00:00 2026-06-02T23:17:06+00:00

Small simple question, but I cannot find the answer! Is it possible to use

  • 0

Small simple question, but I cannot find the answer!

Is it possible to use PyDoc on a shared object used as a module in python ? Let say that I declare all the help in that *.so and I’m able to use them with help(module or class name). But I’d like to use PyDoc to create an HTML from these. So this way, I won’t have to write the doc two times!

Let me know if it’s possible, or if there’s a small hack 🙂

Also, in the C files, I’m able to put the description of each function! But when I type help(my_class) I don’t have a description of the class and then the list of function. What am I doing wrong ?

So, what I want is when I do this in the C files:

return PyObject_NEW(my_class, &my_class_type);

Later, in Python, after I loaded the module, I can do:

help(my_class)

and see the help, like it would do for help(int)!!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:17:08+00:00Added an answer on June 2, 2026 at 11:17 pm

    So, I partially solved my problem.

    I still can’t use pydoc on an *.so file. But now, I can add modules, which is nice. Everything is available here: http://docs.python.org/extending/newtypes.html

    But I’m still looking for the pydoc solution!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Simply straightforward question, but one for which I cannot find any suggestions. Supported HTML5
This sounds like a simple question but I can't find good information. I'm writing
I'm creating small engine/framework for making games. It's kind of simple question but I
Hopefully a question with a very simple answer, but it's not one that I've
probably a newbie question, but after looking through the 'net, still cannot find an
I'm writing a very simple and small wrapper around sqlite3, and use sqlite3_get_table() to
I have a simple small question which someone who knows will be able to
I hope this is a really simple question, but it's stumped me. Basically, I
Hey this may be a somewhat simple question, but I'm new to Eclipse and
Yes, this sounds like a simple question, and it probably is. But when i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.