Python Forum

Full Version: Noob question on Mac python3, pydoc3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Probably a very simple question. I'm using MacOS and installed the latest python3 binary from python.org. Trying to follow along with tutorials to learn ...

If I type:
pydoc file
which references the included v2 python I get the docs for "class file(object)"

However if I type:
pydoc3 file
I just get an error "No Python documentation found for 'file'".

Wondering if I installed something wrong, or how I get pydoc3 to output basic documentation on buitins.

Thanks

I'm trolling around in various python 3 docs .... its possible "file" just doens't exist .... it is confusing to have a tutorial tell you to do something, and it doens't work.....