Core Python programming:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Upper Saddle River, NJ [u.a.]
Prentice Hall
2009
|
Ausgabe: | 2. ed., repr. with corrections |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | Includes bibliographical references and index |
Beschreibung: | XXXVII, 1098 S. |
ISBN: | 0132269937 9780132269933 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV035983473 | ||
003 | DE-604 | ||
005 | 20100129 | ||
007 | t | ||
008 | 100128s2009 xxu |||| 00||| eng d | ||
020 | |a 0132269937 |c pbk. : alk. paper |9 0-13-226993-7 | ||
020 | |a 9780132269933 |9 978-0-13-226993-3 | ||
035 | |a (OCoLC)554446230 | ||
035 | |a (DE-599)BVBBV035983473 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
044 | |a xxu |c US | ||
049 | |a DE-739 | ||
050 | 0 | |a QA76.73.P98 | |
082 | 0 | |a 005.133 | |
082 | 0 | |a 005.13/3 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Chun, Wesley J. |e Verfasser |4 aut | |
245 | 1 | 0 | |a Core Python programming |c Wesley J. Chun |
250 | |a 2. ed., repr. with corrections | ||
264 | 1 | |a Upper Saddle River, NJ [u.a.] |b Prentice Hall |c 2009 | |
300 | |a XXXVII, 1098 S. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
500 | |a Includes bibliographical references and index | ||
650 | 4 | |a Python (Computer program language) | |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Programmierung |0 (DE-588)4076370-5 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | 1 | |a Programmierung |0 (DE-588)4076370-5 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018877376&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-018877376 |
Datensatz im Suchindex
_version_ | 1804141005044187136 |
---|---|
adam_text | i
-да
Preface
xxiii
Acknowledgments
xxxv
PART I: core python
2
í
WELCOME TO PYTHON!
4
1.1 What Is Python?
Ь
1
.2
Origins
6
1
.3
Features
6
1
.4
Downloading and Installing Python I I
1
.5
Running Python 1
3
1
.6
Python Documentation
22
1
.7
Comparing Python
23
1
.8
Other Implementations
26
1
.9
Exercises
27
GETTING STARTED
30
2.1
Program Output, the print Statement, and Hello World!
32
2.2
Program Input and the raw_input
( )
Built-in Function
33
2.3
Comments
35
2.4
Operators
35
2.5
Variables and Assignment
37
2.6
Numbers
37
2.7
Strings
39
2.8
Lists and Tuples
40
2.9
Dictionaries
40
2.10
Code Blocks Use Indentation
41
2.1
I if Statement
41
2.12
while Loop
42
2.
1
3
for Loop and the range
( )
Built-in Function
43
2.14
List Comprehensions
45
2.15
Files and the open
()
and file
()
Built-in Functions
46
2.
1
6
Errors and Exceptions
47
2.17
Functions
48
2.18
Classes
50
2.19
Modules
52
2.20
Useful Functions
54
2.21
Exercises
55
3
PYTHON BASICS
60
3.1
Statements and Syntax
61
3.2
Variable Assignment
64
3.3
Identifiers
67
3.4
Basic Style Guidelines
69
3.5
Memory Management
75
3.6
First Python Programs
79
3.7
Related Modules/Developer Tools
84
3.8
Exercises
85
4
PYTHON OBJECTS
88
4.
1 Python Objects
89
4.2
Other Built-in Types
9
1
4.3
Internal Types
93
4.4
Standard Type Operators
96
4.5
Standard Type Built-in Functions 1
0
1
4.6
Categorizing the Standard Types 11 I
4.7
Unsupported Types I 1
6
4.8
Exercises I
17
5
NUMBERS
120
5.1
Introduction to Numbers
121
5.2
Integers
122
5.3
Double
Precision Floating Point Numbers
125
5.4
Complex Numbers
126
5.5
Operators
127
5.6
Built-in and Factory Functions
136
5.7
Other Numeric Types
145
5.8
Related Modules
148
5.9
Exercises
151
SEQUENCES: STRINGS, LISTS, AND TUPLES
156
6.1
Sequences
158
6.2
Strings
168
6.3
Strings and Operators
170
6.4
String-Only Operators
178
6.5
Built-in Functions
184
6.6
String Built-in Methods
188
6.7
Special Features of Strings
192
6.8
Unicode
197
6.9
Related Modules
206
6.10
Summary of String Highlights
208
6.1 1
Lists
209
6.12
Operators
211
6.13
Built-in Functions
216
6.14
List Type Built-in Methods
220
6.15
Special Features of Lists
224
6.16
Tuples
232
6.17
Tuple Operators and Built-in Functions
233
6.
1
8
Special Features of Tuples
235
6.
1
9
Related Modules
239
6.20
*Copying Python Objects and Shallow and Deep Copies
240
6.21
Summary of Sequences
243
6.22
Exercises
246
7
MAPPING AND SET TYPES
252
7.1
Mapping Type: Dictionaries
253
7.2
Mapping Type Operators
258
7.3
Mapping Type Built-in and Factory Functions
260
7.4
Mapping Type Built-in Methods
265
7.5
Dictionary Keys
268
7.6
Set Types
273
7.7
Set Type Operators
276
7.8
Built-in Functions
280
7.9
Set Type Built-in Methods
28
1
7.
1
0
Operator, Function/Method Summary Table for Set Types
283
7.
11 Related Modules
283
7.12
Exercises
285
8
CONDITIONALS AND LOOPS
290
8.1
if Statement
291
8.2
else Statement
292
8.3
elif (aka else-if)
Statement
294
8.4
Conditional Expressions (aka the Ternary Operator )
295
8.5
while Statement
296
8.6
for Statement
298
8.7
break Statement
304
8.8
continue Statement
305
8.9
pass Statement
306
8.10
else Statement
...
Take Two
307
8.
11 Iterators and the
iter
( )
Function
309
8.12
List Comprehensions
313
8.
1
3
Generator Expressions
3
1
5
8.14
Related Modules
320
8.15
Exercises
320
FILES AND INPUT/OUTPUT
324
9.1
File Objects
325
9.2
File Built-in Functions [open
( )
and file
()] 326
9.3
File Built-in Methods
329
9.4
File Built-in Attributes
336
9.5
Standard Files
337
9.6
Command-Line Arguments
338
9.7
File System
339
9.8
File Execution
348
9.9
Persistent Storage Modules
348
9.10
Related
Modules 351
9.1
I Exercises
353
10
ERRORS AND EXCEPTIONS
358
1
0.1
What Are Exceptions?
360
10.2
Exceptions in Python
361
1
0.3
Detecting and Handling Exceptions
364
1
0.4
Context Management
382
1
0.5
*Exceptions as Strings
386
10.6
Raising Exceptions
386
10.7
Assertions
389
10.8
Standard Exceptions
391
10.9
^Creating Exceptions
394
1
0.
1
0
Why Exceptions (Now)?
40
1
1
0.
11 Why Exceptions at All?
402
1
0.
1
2
Exceptions and the
sys
Module
403
10.13
Related Modules
404
10.14
Exercises
405
11 FUNCTIONS AND FUNCTIONAL PROGRAMMING
408
I I
.
I What Are Functions?
409
1
1.2
Calling Functions
412
11.3
Creating Functions
418
11
.4
Passing Functions
426
11
.5
Formal Arguments
428
11.6
Variable-Length Arguments
433
11
.7
Functional Programming
439
11
.8
Variable Scope
453
1
1.9
*Recursion
466
11.10
Generators
467
I I.I I Exercises
471
12
MODULES
476
12.1
What Are Modules?
477
12.2
Modules and Files
478
12.3
Namespaces
480
1
2.4
Importing Modules
484
1
2.5
Features of Module Import
486
12.6
Module Built-in Functions
491
12.7
Packages
493
1
2.8
Other Features of Modules
496
1
2.9
Related Modules
500
12.10
Exercises
501
13
OBJECT-ORIENTED PROGRAMMING
504
13.1
Introduction
506
13.2
Object-Oriented Programming
514
13.3
Classes
518
13.4
Class Attributes
520
13.5
Instances
526
13.6
Instance
Attributes 531
13.7
Binding and Method
Invocation
540
1
3.8
Static Methods and Class Methods
542
13.9
Composition
544
13.10
Subclassing and Derivation
545
13.11
Inheritance
547
13.12
Built-in Functions for Classes, Instances, and Other Objects
558
13.13
Customizing Classes with Special Methods
564
13.14
Privacy
585
13.15
*Delegation
587
13.16
Advanced Features of New-Style Classes (Python
2.2+) 595
13.17
Related Modules and Documentation
6
1
5
(3.18
Exercises
618
¡4
EXECUTION ENVIRONMENT
626
14.1
Callable Objects
628
14.2
Code Objects
635
14.3
Executable Object Statements and Built-in Functions
636
1
4.4
Executing Other (Python) Programs
649
14.5
Executing Other (Non-Python) Programs
653
14.6
Restricted Execution
663
14.7
Terminating Execution
663
14.8
Miscellaneous Operating System Interface
666
14.9
Related Modules
668
14.10
Exercises
668
PART II: advanced topics
670
15
REGULAR EXPRESSIONS
672
15.I Introduction/Motivation
673
1
5.2
Special Symbols and Characters
676
15.3
REs and Python
683
1
5.4
Regular Expressions Example
698
15.5
Exercises
705
16
NETWORK PROGRAMMING
710
16.1
Introduction
71
1
16.2
Sockets: Communication
Endpoints 715
16.3
Network Programming in Python
718
16.4
*SocketServer Module
732
16.5
^Introduction to the Twisted Framework
737
1
6.6
Related Modules
74
1
16.7
Exercises
742
17
INTERNET CLIENT PROGRAMMING
746
1
7.
1 What Are Internet Clients?
747
1
7.2
Transferring Files
748
1
7.3
Network News
756
17.4
Electronic Mail
766
17.5
Related Modules
778
17.6
Exercises
779
18
MULTITHREADED PROGRAMMING
786
18.1
Introduction/Motivation
787
18.2
Threads and Processes
789
18.3
Python, Threads, and the Global Interpreter Lock
790
18.4
thread Module
795
18.5
threading Module
800
18.6
Related Modules
814
18.7
Exercises
814
19
GUI PROGRAMMING
818
19.1
Introduction
819
19.2
Tkinter and Python Programming
821
1
9.3
Tkinter Examples
826
19.4
Brief Tour of Other GUIs
840
19.5
Related Modules and Other GUIs
848
19.6
Exercises
851
20
WEB PROGRAMMING
854
20.1
Introduction
855
20.2
Web Surfing with Python: Creating Simple Web Clients
859
Contents
20.3 Advanced Web Clients 869
20.4 CGI:
Helping
Web Servers
Process
Client Data 875
20.5 Building CGI Applications 878
20.6
Using
Unicode
with
CGI 892
20.7 Advanced CGI 894
20.8 Web (HTTP) Servers 906
20.9
Related
Modules 909
20.10
Exercises
913
21 DATABASE PROGRAMMING 918
21.1
Introduction
919
21.2 Python
Database
Application
Programmer s
Interface (DB-API) 924
2
1
.3
Object-Relational
Managers (ORMs) 946
2
1
.4
Related
Modules 958
21.5
Exercises
960
22
EXTENDING
PYTHON 962
22.1
Introduction/Motivation
963
22.2
Extending
Python
by Writing Extensions
965
22.3
Related Topics
98
1
22.4
Exercises
982
23
MISCELLANEOUS
984
23.1
Web Services
985
23.2
Programming Microsoft Office with
Win32
COM
989
Contents
23.3
Python
and Java Programming with Jython
1002
23.4
Exercises
1006
Appendix A Answers to Selected Exercises
101
1
Appendix
В
Reference Tables 1
02
1
Appendix
С
Python
3:
The Evolution Of A Programming
Language 1
049
Appendix
D
Migrating to Python
3
Starts with
2.6 1059
Index
1071
|
any_adam_object | 1 |
author | Chun, Wesley J. |
author_facet | Chun, Wesley J. |
author_role | aut |
author_sort | Chun, Wesley J. |
author_variant | w j c wj wjc |
building | Verbundindex |
bvnumber | BV035983473 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.P98 |
callnumber-search | QA76.73.P98 |
callnumber-sort | QA 276.73 P98 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)554446230 (DE-599)BVBBV035983473 |
dewey-full | 005.133 005.13/3 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 005.13/3 |
dewey-search | 005.133 005.13/3 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 2. ed., repr. with corrections |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01612nam a2200433zc 4500</leader><controlfield tag="001">BV035983473</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20100129 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">100128s2009 xxu |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0132269937</subfield><subfield code="c">pbk. : alk. paper</subfield><subfield code="9">0-13-226993-7</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780132269933</subfield><subfield code="9">978-0-13-226993-3</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)554446230</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV035983473</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxu</subfield><subfield code="c">US</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.P98</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.133</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.13/3</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">Chun, Wesley J.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Core Python programming</subfield><subfield code="c">Wesley J. Chun</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">2. ed., repr. with corrections</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Upper Saddle River, NJ [u.a.]</subfield><subfield code="b">Prentice Hall</subfield><subfield code="c">2009</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXXVII, 1098 S.</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">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references and index</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</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="650" ind1="0" ind2="7"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</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="1"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau</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=018877376&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-018877376</subfield></datafield></record></collection> |
id | DE-604.BV035983473 |
illustrated | Not Illustrated |
indexdate | 2024-07-09T22:08:59Z |
institution | BVB |
isbn | 0132269937 9780132269933 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-018877376 |
oclc_num | 554446230 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | XXXVII, 1098 S. |
publishDate | 2009 |
publishDateSearch | 2009 |
publishDateSort | 2009 |
publisher | Prentice Hall |
record_format | marc |
spelling | Chun, Wesley J. Verfasser aut Core Python programming Wesley J. Chun 2. ed., repr. with corrections Upper Saddle River, NJ [u.a.] Prentice Hall 2009 XXXVII, 1098 S. txt rdacontent n rdamedia nc rdacarrier Includes bibliographical references and index Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf Programmierung (DE-588)4076370-5 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 s Programmierung (DE-588)4076370-5 s DE-604 Digitalisierung UB Passau application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018877376&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Chun, Wesley J. Core Python programming Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd Programmierung (DE-588)4076370-5 gnd |
subject_GND | (DE-588)4434275-5 (DE-588)4076370-5 |
title | Core Python programming |
title_auth | Core Python programming |
title_exact_search | Core Python programming |
title_full | Core Python programming Wesley J. Chun |
title_fullStr | Core Python programming Wesley J. Chun |
title_full_unstemmed | Core Python programming Wesley J. Chun |
title_short | Core Python programming |
title_sort | core python programming |
topic | Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd Programmierung (DE-588)4076370-5 gnd |
topic_facet | Python (Computer program language) Python Programmiersprache Programmierung |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=018877376&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT chunwesleyj corepythonprogramming |