Python in a nutshell
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo
O'Reilly
2017
|
Ausgabe: | Third edition |
Schlagworte: | |
Online-Zugang: | UEI01 URL des Erstveröffentlichers Inhaltsverzeichnis |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
MARC
LEADER | 00000nmm a2200000zc 4500 | ||
---|---|---|---|
001 | BV043970606 | ||
003 | DE-604 | ||
005 | 20170613 | ||
007 | cr|uuu---uuuuu | ||
008 | 161219s2017 |||| o||u| ||||||eng d | ||
020 | |a 9781491913864 |9 978-1-4919-1386-4 | ||
035 | |a (ZDB-32-STB)ocn964632282 | ||
035 | |a (OCoLC)992902234 | ||
035 | |a (DE-599)BVBBV043970606 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-824 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Martelli, Alex |d 1955- |e Verfasser |0 (DE-588)1132090415 |4 aut | |
245 | 1 | 0 | |a Python in a nutshell |c Alex Martelli, Anna Ravenscroft, and Steve Holden |
250 | |a Third edition | ||
264 | 1 | |a Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo |b O'Reilly |c 2017 | |
300 | |a 1 Online-Ressource (xiv, 749 Seiten) |b Illustrationen | ||
336 | |b txt |2 rdacontent | ||
337 | |b c |2 rdamedia | ||
338 | |b cr |2 rdacarrier | ||
500 | |a Auf dem Umschlag: 3rd edition, covers Python 2.7 & 3.5 with 3.6 highlights | ||
500 | |a Description based on online resource; title from resource description page (Safari, viewed November 29, 2016) | ||
650 | 4 | |a Python (Computer program language) | |
650 | 0 | 7 | |a Python 2.2 |0 (DE-588)4666931-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Befehlsvorrat |0 (DE-588)4129931-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
655 | 7 | |8 1\p |0 (DE-588)4188171-0 |a Verzeichnis |2 gnd-content | |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Python 2.2 |0 (DE-588)4666931-0 |D s |
689 | 1 | 1 | |a Befehlsvorrat |0 (DE-588)4129931-0 |D s |
689 | 1 | |8 2\p |5 DE-604 | |
700 | 1 | |a Ravenscroft, Anna |e Verfasser |4 aut | |
700 | 1 | |a Holden, Steve |e Verfasser |4 aut | |
776 | 0 | 8 | |i Erscheint auch als |n Druck-Ausgabe |z 978-1-449-39292-5 |
856 | 4 | 0 | |u http://proquest.tech.safaribooksonline.de/9781491912126 |x Aggregator |z URL des Erstveröffentlichers |3 Volltext |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029379193&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
912 | |a ZDB-32-STB |a ZDB-4-NLEBK | ||
999 | |a oai:aleph.bib-bvb.de:BVB01-029379193 | ||
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
883 | 1 | |8 2\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk | |
966 | e | |u http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1501291 |l UEI01 |p ZDB-4-NLEBK |x Aggregator |3 Volltext |
Datensatz im Suchindex
_version_ | 1804176930599075840 |
---|---|
adam_text | Titel: Python in a nutshell
Autor: Martelli, Alex
Jahr: 2017
Table of Contents
Preface.............................................................. ix
Part I. Getting Started with Python
1. Introduction to Python.............................................. 3
The Python Language 3
The Python Standard Library and Extension Modules 5
Python Implementations 5
Python Development and Versions 13
Python Resources 14
Installation 18
Installing Python from Binaries 19
Installing Python from Source Code 20
Installing Jython 23
Installing IronPython 23
Installing PyPy 23
2. The Python Interpreter.............................................25
The python Program 25
Python Development Environments 30
Running Python Programs 32
The jython Interpreter 33
The IronPython Interpreter 34
The PyPy Interpreter 34
Part II. Core Python Language and Built-ins
3. The Python Language.............................................. 37
Lexical Structure 37
Data Types 43
Variables and Other References 52
Expressions and Operators 57
Numeric Operations 59
Sequence Operations 61
Set Operations 67
Dictionary Operations 69
Control Flow Statements 72
Functions 82
4. Object-Oriented Python........................................... 101
Classes and Instances 102
Special Methods 126
Decorators 140
Metaclasses 142
5. Exceptions...................................................... 149
The try Statement 149
The with Statement and Context Managers 153
Exception Propagation 155
The raise Statement 157
Exception Objects 158
Custom Exception Classes 163
Error-Checking Strategies 166
The assert Statement 171
6. Modules........................................................ 173
Module Objects 174
Module Loading 178
Packages 184
Distribution Utilities (distutils) and setup tools 186
Python Environments 188
7. Core Built-ins and Standard Library Modules......................... 197
Built-in Types 198
Built-in Functions 201
The sys Module 212
iv | Table of Contents
The copy Module 216
The collections Module 217
The functools Module 222
The heapq Module 224
The argparse Module 227
The itertools Module 228
8. Strings and Things................................................233
Methods of String and Bytes Objects 233
The string Module 239
String Formatting 240
Text Wrapping and Filling 249
The pprint Module 249
The reprlib Module 250
Unicode 250
9. Regular Expressions.............................................. 253
Regular Expressions and the re Module 253
Part III. Python Library and Extension Modules
10. File and Text Operations...........................................271
Other Chapters That Also Deal with Files 271
Organization of This Chapter 271
The io Module 273
Auxiliary Modules for File I/O 281
In-Memory Files : io.StringlO and io.BytesIO 286
Compressed Files 287
The os Module 297
Filesystem Operations 299
Text Input and Output 317
Richer-Text I/O 319
Interactive Command Sessions 325
Internationalization 329
11. Persistence and Databases.........................................337
Serialization 338
DBM Modules 348
Berkeley DB Interfacing 351
The Python Database API (DBAPI) 2.0 351
Table of Contents | v
12. Time Operations................................................. 363
The time Module 363
The datetime Module 368
The pytz Module 374
The dateutil Module 375
The sched Module 377
The calendar Module 379
13. Controlling Execution............................................. 381
Site and User Customization 381
Termination Functions 383
Dynamic Execution and exec 383
Internal Types 387
Garbage Collection 388
14. Threads and Processes............................................ 395
Threads in Python 396
The threading Module 397
The queue Module 406
The multiprocessing Module 408
The concurrent.futures Module 417
Threaded Program Architecture 420
Process Environment 423
Running Other Programs 424
The mmap Module 429
15. Numeric Processing...............................................433
The math and cmath Modules 433
The operator Module 438
Random and Pseudorandom Numbers 441
The fractions Module 443
The decimal Module 444
The gmpy2 Module 445
Array Processing 446
The array Module 446
Extensions for Numeric Array Computation 448
16. Testing, Debugging, and Optimizing................................ 455
Testing 456
Debugging 467
The warnings Module 476
Optimization 479
vi | Table of Contents
Part IV. Network and Web Programming
17. Networking Basics................................................499
Networking Principles 500
The Berkeley Socket Interface 501
Transport Layer Security (TLS, AKA SSL) 516
18. Asynchronous Alternatives.........................................519
Coroutine-Based Async Architectures 520
The asyncio Module (v3 Only) 521
The selectors Module 544
19. Client-Side Network Protocol Modules...............................551
Email Protocols 552
HTTP and URL Clients 555
Other Network Protocols 569
20. Serving HTTP.................................................... 571
WSGI 572
Python Web Frameworks 573
21. Email, MIME, and Other Network Encodings.......................... 595
MIME and Email Format Handling 595
Encoding Binary Data as ASCII Text 605
22. Structured Text: HTML............................................ 609
The html.entities (v2: htmlentitydefs) Module 610
Generating HTML 621
23. Structured Text: XML..............................................629
ElementTree 630
Part V. Extending, Distributing, v2/v3 Migration
24. Extending and Embedding Classic Python............................ 645
Extending Python with Python s C API 646
Extending Python Without Pythons C API 681
Cython 682
Embedding Python 687
Table of Contents | vii
25. Distributing Extensions and Programs..............................................................691
setuptools 692
Distributing Your Package 702
26. v2/v3 Migration and Coexistence......................................................................709
Preparing for Python 3 710
Minimizing Syntax Differences 711
Choosing Your Support Strategy 715
Index............................................................................................................................727
viii | Table of Contents
|
any_adam_object | 1 |
author | Martelli, Alex 1955- Ravenscroft, Anna Holden, Steve |
author_GND | (DE-588)1132090415 |
author_facet | Martelli, Alex 1955- Ravenscroft, Anna Holden, Steve |
author_role | aut aut aut |
author_sort | Martelli, Alex 1955- |
author_variant | a m am a r ar s h sh |
building | Verbundindex |
bvnumber | BV043970606 |
classification_rvk | ST 250 |
collection | ZDB-32-STB ZDB-4-NLEBK |
ctrlnum | (ZDB-32-STB)ocn964632282 (OCoLC)992902234 (DE-599)BVBBV043970606 |
discipline | Informatik |
edition | Third edition |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>02594nmm a2200541zc 4500</leader><controlfield tag="001">BV043970606</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20170613 </controlfield><controlfield tag="007">cr|uuu---uuuuu</controlfield><controlfield tag="008">161219s2017 |||| o||u| ||||||eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781491913864</subfield><subfield code="9">978-1-4919-1386-4</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(ZDB-32-STB)ocn964632282</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)992902234</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV043970606</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-824</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Martelli, Alex</subfield><subfield code="d">1955-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1132090415</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Python in a nutshell</subfield><subfield code="c">Alex Martelli, Anna Ravenscroft, and Steve Holden</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Third edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2017</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 Online-Ressource (xiv, 749 Seiten)</subfield><subfield code="b">Illustrationen</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Auf dem Umschlag: 3rd edition, covers Python 2.7 & 3.5 with 3.6 highlights</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Description based on online resource; title from resource description page (Safari, viewed November 29, 2016)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python 2.2</subfield><subfield code="0">(DE-588)4666931-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Befehlsvorrat</subfield><subfield code="0">(DE-588)4129931-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="8">1\p</subfield><subfield code="0">(DE-588)4188171-0</subfield><subfield code="a">Verzeichnis</subfield><subfield code="2">gnd-content</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Python 2.2</subfield><subfield code="0">(DE-588)4666931-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2="1"><subfield code="a">Befehlsvorrat</subfield><subfield code="0">(DE-588)4129931-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="8">2\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Ravenscroft, Anna</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Holden, Steve</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Druck-Ausgabe</subfield><subfield code="z">978-1-449-39292-5</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="u">http://proquest.tech.safaribooksonline.de/9781491912126</subfield><subfield code="x">Aggregator</subfield><subfield code="z">URL des Erstveröffentlichers</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029379193&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-32-STB</subfield><subfield code="a">ZDB-4-NLEBK</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-029379193</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">2\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1501291</subfield><subfield code="l">UEI01</subfield><subfield code="p">ZDB-4-NLEBK</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield></record></collection> |
genre | 1\p (DE-588)4188171-0 Verzeichnis gnd-content |
genre_facet | Verzeichnis |
id | DE-604.BV043970606 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T07:40:00Z |
institution | BVB |
isbn | 9781491913864 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-029379193 |
oclc_num | 964632282 992902234 |
open_access_boolean | |
owner | DE-824 |
owner_facet | DE-824 |
physical | 1 Online-Ressource (xiv, 749 Seiten) Illustrationen |
psigel | ZDB-32-STB ZDB-4-NLEBK |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | O'Reilly |
record_format | marc |
spelling | Martelli, Alex 1955- Verfasser (DE-588)1132090415 aut Python in a nutshell Alex Martelli, Anna Ravenscroft, and Steve Holden Third edition Beijing ; Boston ; Farnham ; Sebastopol ; Tokyo O'Reilly 2017 1 Online-Ressource (xiv, 749 Seiten) Illustrationen txt rdacontent c rdamedia cr rdacarrier Auf dem Umschlag: 3rd edition, covers Python 2.7 & 3.5 with 3.6 highlights Description based on online resource; title from resource description page (Safari, viewed November 29, 2016) Python (Computer program language) Python 2.2 (DE-588)4666931-0 gnd rswk-swf Befehlsvorrat (DE-588)4129931-0 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf 1\p (DE-588)4188171-0 Verzeichnis gnd-content Python Programmiersprache (DE-588)4434275-5 s DE-604 Python 2.2 (DE-588)4666931-0 s Befehlsvorrat (DE-588)4129931-0 s 2\p DE-604 Ravenscroft, Anna Verfasser aut Holden, Steve Verfasser aut Erscheint auch als Druck-Ausgabe 978-1-449-39292-5 http://proquest.tech.safaribooksonline.de/9781491912126 Aggregator URL des Erstveröffentlichers Volltext HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029379193&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk 2\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Martelli, Alex 1955- Ravenscroft, Anna Holden, Steve Python in a nutshell Python (Computer program language) Python 2.2 (DE-588)4666931-0 gnd Befehlsvorrat (DE-588)4129931-0 gnd Python Programmiersprache (DE-588)4434275-5 gnd |
subject_GND | (DE-588)4666931-0 (DE-588)4129931-0 (DE-588)4434275-5 (DE-588)4188171-0 |
title | Python in a nutshell |
title_auth | Python in a nutshell |
title_exact_search | Python in a nutshell |
title_full | Python in a nutshell Alex Martelli, Anna Ravenscroft, and Steve Holden |
title_fullStr | Python in a nutshell Alex Martelli, Anna Ravenscroft, and Steve Holden |
title_full_unstemmed | Python in a nutshell Alex Martelli, Anna Ravenscroft, and Steve Holden |
title_short | Python in a nutshell |
title_sort | python in a nutshell |
topic | Python (Computer program language) Python 2.2 (DE-588)4666931-0 gnd Befehlsvorrat (DE-588)4129931-0 gnd Python Programmiersprache (DE-588)4434275-5 gnd |
topic_facet | Python (Computer program language) Python 2.2 Befehlsvorrat Python Programmiersprache Verzeichnis |
url | http://proquest.tech.safaribooksonline.de/9781491912126 http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029379193&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT martellialex pythoninanutshell AT ravenscroftanna pythoninanutshell AT holdensteve pythoninanutshell |