Python Forum
Noob question on Mac python3, pydoc3 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Noob question on Mac python3, pydoc3 (/thread-13273.html)



Noob question on Mac python3, pydoc3 - JamesNJ - Oct-08-2018

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.....