About 16,200,000 results
Open links in new tab
  1. What are the most common Python docstring formats?

    I have seen a few different styles of writing docstrings in Python, what are the most popular styles?

  2. How do I declare custom exceptions in modern Python?

    How do I declare custom exception classes in modern Python? My primary goal is to follow whatever standard other exception classes have, so that (for instance) any extra string I include in the exc...

  3. python - Show complete documentation in VS Code - Stack Overflow

    Aug 1, 2020 · Jupyter Notebook shows the complete documentation on Shift +Tab. Is there a way I can get the same with VS Code? Ctrl+Shift+Space only shows methods signatures, but no related API …

  4. How to generate HTML Documentation with Python-Sphinx?

    Create a python task in Run/Edit-Configurations... in PyCharm like below. Be careful with the python interpreter and your script (If you use python environment like me). This script will generate the rst …

  5. How do I document a module in Python? - Stack Overflow

    Here is an Example Google Style Python Docstrings on how module can be documented. Basically there is an information about a module, how to execute it and information about module level …

  6. Understanding __getitem__ method in Python - Stack Overflow

    I have gone through most of the documentation of __getitem__() in the Python docs, but I am still unable to grasp the meaning of it. So all I can understand is that __getitem__() is used to implement

  7. python - Docstring for variable - Stack Overflow

    Jan 11, 2012 · 9 Some python documentation scripts have notation that can be use in the module/classes docstring to document a var. E.g. for spinx, you can use :var and :ivar. See this …

  8. Reading python documentation in the terminal? - Stack Overflow

    Mar 1, 2018 · Is there a way to install the python documentation that would make it available as if it was a manpage? (I know you can download the sourcefiles for the documentation and read them in vim, …

  9. How to preserve line breaks when generating python docs using sphinx

    Nov 18, 2015 · I am using Sphinx for generating docs for a python project. The output html is not preserving the line breaks which are present in the docstring. Example: Code def …

  10. Convert .doc files to pdf using python COM interface to Microsoft Word

    How can I convert a Word document in PDF by calling the Word COM interface from Python?