Python in a nutshell
This book offers Python programmers one place to look when they needhelp remembering or deciphering the syntax of this open source languageand its many powerful but scantily documented modules. Thiscomprehensive reference guide makes it easy to look up the mostfrequently needed information--not jus...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing ; Sebastopol, California :
O'Reilly
2006.
|
Edición: | 2nd ed |
Colección: | In a nutshell (O'Reilly & Associates)
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627223206719 |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; How This Book Is Organized; Part I, Getting Started with Python; Part II, Core Python Language and Built-ins; Part III, Python Library and Extension Modules; Part IV, Network and Web Programming; Part V, Extending and Embedding; Conventions Used in This Book; Reference Conventions; Typographic Conventions; Using Code Examples; How to Contact Us; Safari® Enabled; Acknowledgments; I; Chapter 1. Introduction to Python; The Python Language; The Python Standard Library and Extension Modules; Python Implementations; CPython; Jython; IronPython
- Choosing Between CPython, Jython, and IronPythonPyPy and Other Experimental Versions; Licensing and Price Issues; Python Development and Versions; Python Resources; Documentation; Newsgroups and Mailing Lists; Special-Interest Groups; Python Business Forum; Python Journal; Extension Modules and Python Sources; The Python Cookbook; Books and Magazines; Chapter 2. Installation; Installing Python from Source Code; Windows; Uncompressing and unpacking the Python source code; Building the Python source code with Microsoft Visual Studio 2003; Building Python for debugging
- Installing after the buildBuilding Python for Cygwin; Unix-Like Platforms; Uncompressing and unpacking the Python source code; Configuring, building, and testing; Installing after the build; Installing Python from Binaries; Apple Macintosh; Installing Jython; Installing IronPython; Chapter 3. The Python Interpreter; The python Program; Environment Variables; Command-Line Syntax and Options; Interactive Sessions; Python Development Environments; IDLE; Other Free Cross-Platform Python IDEs; Platform-Specific Free Python IDEs; Commercial Python IDEs; Free Text Editors with Python Support
- Tools for Checking Python ProgramsRunning Python Programs; The jython Interpreter; The IronPython Interpreter; II; Chapter 4. The Python Language; Lexical Structure; Lines and Indentation; Character Sets; Tokens; Identifiers; Keywords; Operators; Delimiters; Literals; Statements; Simple statements; Compound statements; Data Types; Numbers; Integer numbers; Floating-point numbers; Complex numbers; Sequences; Iterables; Strings; Tuples; Lists; Sets; Dictionaries; None; Callables; Boolean Values; Variables and Other References; Variables; Object attributes and items
- Accessing nonexistent referencesAssignment Statements; Plain assignment; Augmented assignment; del Statements; Expressions and Operators; Comparison Chaining; Short-Circuiting Operators; The Python 2.5 ternary operator; Numeric Operations; Numeric Conversions; Arithmetic Operations; Division; Exponentiation; Comparisons; Bitwise Operations on Integers; Sequence Operations; Sequences in General; Sequence conversions; Concatenation and repetition; Membership testing; Indexing a sequence; Slicing a sequence; Strings; Tuples; Lists; Modifying a list; In-place operations on a list; List methods
- Sorting a list