I’m just starting out with Python, and have found out that I can import various libraries. How do I find out what libraries exist on my Mac that I can import? How do I find out what functions they include?
I seem to remember using some web server type thing to browse through local help files, but I may have imagined that!
For the web server, you can run the
pydocmodule that is included in the python distribution as a script:where
1234is the port you want the server to run at. You can then visithttp://localhost:1234/and browse the documentation.