473,378 Members | 1,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Python Documentation Blows!

OK, First off I am new to Python but I am a convert. I sat down and
wrote two medium complexity applications in Python from scratch and
learning the language in a few days. If I were to do this in C++ and/or
Java it would have taken atleast a month (Rember I was also learning the
Python language). But, I am sick of the documentation! I don't really
use too many Java example applications when I am writing in Java because
(1.) I have been writting in Java since it was called Oak and 2.) I have
the JavaDocs that give me a good grounding as to what the
package/class/function/const is doing). Is there anythin comperable for
Python? It is a shame that the only limitation of a great is
documentation. Is there a project that is trying to do this? Am I
completely off my rocker? Is the Tutorial and Module documentation on
python.org enough? What would it take to develop an JavaDoc like
repository. I don't know much about the PyPI but is a requirement
documentation? What I think would be cool is a PyPI wiki that is
dedicated to to documentation. When a module is submitted it is sent
through a dog auto-gen that generates wiki pages. The wiki pages would
be a reference page(s) (think javadoc), an example code page(s), and a
tutorial thread page(s). Just the refrence page would be auto generated
and the example and tutorial page(s) could be created by the developer
and/or the community in very wiki like style. What do y'all think?

Jul 18 '05 #1
2 1446
Are you looking for something dynamic and formatted like pydoc? If so, it is
included with Python, so you can run your own server and pick up the doc
strings in your own modules and packages. There is also a public server for
standard libs.

http://pydoc.org/2.3/

Here's an example for the os module.

http://pydoc.org/2.3/os.html

ka

"Adam T. Gautier" <ad**********@yahoo.com> wrote in message
news:ma**************************************@pyth on.org...
OK, First off I am new to Python but I am a convert. I sat down and
wrote two medium complexity applications in Python from scratch and
learning the language in a few days. If I were to do this in C++ and/or
Java it would have taken atleast a month (Rember I was also learning the
Python language). But, I am sick of the documentation! I don't really
use too many Java example applications when I am writing in Java because
(1.) I have been writting in Java since it was called Oak and 2.) I have
the JavaDocs that give me a good grounding as to what the
package/class/function/const is doing). Is there anythin comperable for
Python? It is a shame that the only limitation of a great is
documentation. Is there a project that is trying to do this? Am I
completely off my rocker? Is the Tutorial and Module documentation on
python.org enough? What would it take to develop an JavaDoc like
repository. I don't know much about the PyPI but is a requirement
documentation? What I think would be cool is a PyPI wiki that is
dedicated to to documentation. When a module is submitted it is sent
through a dog auto-gen that generates wiki pages. The wiki pages would
be a reference page(s) (think javadoc), an example code page(s), and a
tutorial thread page(s). Just the refrence page would be auto generated
and the example and tutorial page(s) could be created by the developer
and/or the community in very wiki like style. What do y'all think?

Jul 18 '05 #2
> What would it take to develop an JavaDoc like repository.

Have you seen what epydoc produces? Here is an example:

http://epydoc.sourceforge.net/stdlib/

I have found *by far* that the best docs are for PHP.
It has little to do with the actual official content
(which is fairly complete and well written and almost always
includes an example), but a lot to do with how anybody can
annotate the pages, wiki style. Here is an example for
the sort function:

http://us2.php.net/manual/en/function.sort.php

Having all those comments is really helpful, and they also
help for updating the documentation. If there are a lot
of comments against a page then the main body really
needs some more work!

(And for those of you who don't know PHP, you will find
the commentary confusing. This is because one of the
authors of PHP decided that a list is the same thing
as a dict with numeric keys, and so PHP only has a
dict type that behaves like lists and dicts. I
won't even mention the tripe equals sign operator!)

Roger

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Steve | last post by:
posted on: comp.lang.python emailed to: docs@python.org I have a suggestion/request that will, I think, improve the Python documentation. Currently, the Python documentation in HTML format is...
25
by: Xah Lee | last post by:
Python Doc Problem Example: gzip Xah Lee, 20050831 Today i need to use Python to compress/decompress gzip files. Since i've read the official Python tutorial 8 months ago, have spent 30...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.