Python Pocket Reference
Python is a popular object-oriented scripting language that is freely available over the Net. It's portable, powerful, and remarkably easy to use. Python is commonly used for both stand-alone programs and scripting applications, in a wide variety of domains.
This book is a companion volume to two O'Reilly Animal Guides,Programming PythonandLearning Python. It summarizes Python statements and types, built-in functions, commonly used library modules, and other prominent Python language features.
This pocket reference covers the latest Python release and complements Python's online reference material.
Results 1-3 of 7
-i Enter interactive mode after executing a script or command, without reading $
PYTHONSTARTUP. Useful for postmortem debugging. -0 Optimize generated
byte-code. -S Don't imply "import site" on initialization. - u Force stdout and stderr
NOTE If no script or command, Python enters interactive mode (uses GNU
readline for input if installed). Command-line options can be strung together or
listed individually (e.g., "python -svd" is the same as "python -s -v -d"). 2.
Useful in interactive mode if you want to reload a module after fixing it. Returns
the module object. repr(object) Returns a string containing a printable
representation of any object. Equivalent to "objecf (backquotes). round(X [, N])
Returns the ...
What people are saying - Write a review
Builtin Types and Operators
11 other sections not shown