Like any other command line utilities, Python contains methods for help. To get started with the help utility, type the
Welcome to Python 3.4's help utility! If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://docs.python.org/3.4/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, symbols, or topics, type "modules", "keywords", "symbols", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose name or summary contain a given string such as "spam", type "modules spam".
Within this interactive module, you can type commands such as
Let's type in
q to close this interactive module and instead work directly from the Python command line.
To get help on a specific function or method directly, use the
help() function, with a command inside the parentheses.
This will open up a help page that can be navigated by
less controls, as outlined below:
Before we get started tinkering with Python, it's important to know how to quickly and efficiently navigate the keyboard. Let's learn some of the most important keyboard navigation shortcuts.
Use the Ctrl+A to move to the beginning of the line, and Ctrl+E to move to the end.
Use Ctrl+B or the left arrow to move left one character, or Ctrl+F or the right arrow to move right.
Ctrl+D will delete the next character, while Ctrl+K deletes the rest of the line after the cursor.
You may also use Ctrl+Y to "Yank" the last deleted text. This is essential cutting.
To undo, use Ctrl+_.
To go back and forth in history, use Ctrl+r and Ctrl+s respectively.
Try these commands out on your computer and practice them to save time in the future.
Programming Python shows in-depth tutorials on the language's number of application domains including: system administration, GUIs, the Web, networking, front-end scripting layers, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python’s many roles in practical, real-world programming.$ Check price
This foam seat cushion relieves lowerback pain, numbness and pressure sores by promoting healthy weight distribution, posture and spine alignment. Furthermore, it reduces pressure on the tailbone and hip bones while sitting. Perfect for sitting on the computer desk for long periods of time.$ Check price