Xah Lee, 2005-01-13, 2011-01-03
The official Python documentation is at: docs.python.org
While programing in Python, if you happen to not have online access or Python manual, you can lookup syntax or info for keywords or modules within Python.
In the command line, type: “python”, then “help()”.
From there you can type any keyword or module name to find out the syntax or info. Type f to page down, b to page up, q to exit.
Also, your system might have “pydoc” installed. Type “pydoc name”, where the “name” can be any function or module.
On the command line, type perldoc perl to get a list of topics.
use perldoc -f functionName for specific function. Example: perldoc -f printf.
For keywords (e.g. if, while, for …), type
perldoc perlop.
For operators (e.g. == + % x ++ =~ m// …), type
perldoc perlsyn.
For a documentation on a particular module, use the module's name. Example:
perldoc Data::Dumper.