Results for “python split example documentation script code site:docs.python.org pdf”
docs.python.org
Built-in Types — Python 3.11.18 documentation
To clarify the above rules, here’s some example Python code, equivalent to the built-in hash, for computing the hash of a rational number, float, or complex: import sys, math.
docs.python.org
pdb — The Python Debugger — Python 3.15.2 documentation
Source code: Lib/pdb.py The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and ...
docs.python.org
3. An Informal Introduction to Python — Python 3.15.2 documentation
Many of the examples in this manual, even those entered at the interactive prompt, include comments. Comments in Python start with the hash character, #, and extend to the end of the physical line.
docs.python.org
subprocess — Subprocess management — Python 3.15.2 ...
Source code: Lib/subprocess.py The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return ...
docs.python.org
Python Module Index — Python 3.15.2 documentation
Generate byte-code files from Python source files. pyclbr. Supports information extraction for a Python module browser.Documentation generator and online help system.
docs.python.org
What's New In Python 3.8 — Python 3.15.2 documentation
It is affectionately known as “the walrus operator” due to its resemblance to the eyes and tusks of a walrus. In this example, the assignment expression helps ...
docs.python.org
1. Whetting Your Appetite — Python 3.15.2 documentation
Python is just the language for you. You could write a Unix shell script or Windows batch files for some of these tasks, but shell scripts are best at moving around files and changing text data, not well-suited for GUI applications or games.
docs.python.org
os.path — Common pathname manipulations — Python 3.15.2 ...
This is the second element of the pair returned by passing path to the function split() . ... Examples, recipes, and other code in the documentation are ...
docs.python.org
6. Modules — Python 3.15.2 documentation
If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to ...