Practical programming: an introduction to computer science using Python 3.6
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Raleigh, North Carolina
The Pragmatic Bookshelf
[2017]
|
Ausgabe: | Third edition |
Schriftenreihe: | The pragmatic programmers
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | xv, 383 Seiten Illustrationen, Diagramme |
ISBN: | 9781680502688 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV044977391 | ||
003 | DE-604 | ||
005 | 20241120 | ||
007 | t| | ||
008 | 180530s2017 xx a||| |||| 00||| eng d | ||
020 | |a 9781680502688 |9 978-1-68050-268-8 | ||
035 | |a (OCoLC)1042925298 | ||
035 | |a (DE-599)GBV1002055415 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-91G |a DE-384 |a DE-523 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a WC 7700 |0 (DE-625)148144: |2 rvk | ||
084 | |a 54.53 |2 bkl | ||
084 | |a DAT 366f |2 stub | ||
100 | 1 | |a Gries, Paul |e Verfasser |0 (DE-588)115383166X |4 aut | |
245 | 1 | 0 | |a Practical programming |b an introduction to computer science using Python 3.6 |c Paul Gries, Jennifer Campbell, Jason Montojo |
250 | |a Third edition | ||
264 | 1 | |a Raleigh, North Carolina |b The Pragmatic Bookshelf |c [2017] | |
300 | |a xv, 383 Seiten |b Illustrationen, Diagramme | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The pragmatic programmers | |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
653 | |a Computer programming | ||
655 | 7 | |0 (DE-588)4123623-3 |a Lehrbuch |2 gnd-content | |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Campbell, Jennifer |e Verfasser |0 (DE-588)1153831767 |4 aut | |
700 | 1 | |a Montojo, Jason |e Verfasser |0 (DE-588)1153831937 |4 aut | |
856 | 4 | 2 | |m Digitalisierung Bibliothek HTW Berlin |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030369804&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-030369804 |
Datensatz im Suchindex
_version_ | 1816246568019296256 |
---|---|
adam_text |
CONTENTS
ACKNOWLEDGMENTS
XI
PREFACE
.
.
1.
WHAT'S
PROGRAMMING?
.
1
PROGRAMS
AND
PROGRAMMING
2
WHAT'S
A PROGRAMMING LANGUAGE?
3
WHAT'S
A BUG?
4
THE
DIFFERENCE BETWEEN BRACKETS, BRACES, AND PARENTHESES
5
INSTALLING PYTHON
5
2.
HELLO,
PYTHON .
.
7
HOW
DOES A COMPUTER RUN A PYTHON PROGRAM?
7
EXPRESSIONS
AND
VALUES: ARITHMETIC
IN PYTHON
9
WHAT
IS A
TYPE?
12
VARIABLES
AND COMPUTER MEMORY: REMEMBERING VALUES
15
HOW PYTHON TELLS YOU SOMETHING WENT WRONG
22
A SINGLE STATEMENT THAT SPANS MULTIPLE LINES
23
DESCRIBING
CODE
25
MAKING
CODE READABLE
26
THE
OBJECT OF THIS CHAPTER
27
EXERCISES
27
3.
DESIGNING
AND USING FUNCTIONS .
31
FUNCTIONS
THAT PYTHON PROVIDES
31
MEMORY
ADDRESSES: HOW PYTHON KEEPS TRACK OF VALUES
34
DEFINING
OUR OWN FUNCTIONS
35
USING
LOCAL VARIABLES FOR TEMPORARY STORAGE
39
TRACING
FUNCTION CALLS IN THE MEMORY MODEL
40
DESIGNING
NEW FUNCTIONS: A RECIPE
47
WRITING
AND RUNNING A PROGRAM
58
CONTENTS
YY VI
OMITTING
A
RETURN STATEMENT:
NONE
60
DEALING
WITH SITUATIONS
THAT YOUR CODE
DOESN'T HANDLE
61
WHAT DID YOU CALL THAT?
62
EXERCISES
63
4.
WORKING
WITH TEXT .
.
65
CREATING
STRINGS
OF CHARACTERS
65
USING
SPECIAL CHARACTERS IN STRINGS
68
CREATING
A MULTILINE STRING
70
PRINTING
INFORMATION
70
GETTING
INFORMATION FROM THE KEYBOARD
73
QUOTES
ABOUT STRINGS
74
EXERCISES
75
5.
MAKING
CHOICES .
77
A
BOOLEAN TYPE
77
CHOOSING
WHICH STATEMENTS TO EXECUTE
86
NESTED
IF STATEMENTS
92
REMEMBERING
RESULTS OF A
BOOLEAN EXPRESSION
EVALUATION
92
YOU LEARNED ABOUT BOOLEANS: TRUE OR FALSE?
94
EXERCISES
94
6.
A
MODULAR APPROACH TO PROGRAM ORGANIZATION
99
IMPORTING
MODULES
100
DEFINING
YOUR OWN
MODULES
104
TESTING
YOUR
CODE SEMIAUTOMATICALLY
110
TIPS
FOR GROUPING YOUR FUNCTIONS
112
ORGANIZING
OUR THOUGHTS
113
EXERCISES
113
7.
USING
METHODS .
.
115
MODULES,
CLASSES, AND METHODS
115
CALLING
METHODS THE OBJECT-ORIENTED
WAY
117
EXPLORING
STRING METHODS
119
WHAT
ARE THOSE UNDERSCORES?
123
A
METHODICAL REVIEW
125
EXERCISES
126
8.
STORING
COLLECTIONS OF DATA USING LISTS .
129
STORING
AND ACCESSING DATA IN LISTS
129
TYPE
ANNOTATIONS
FOR LISTS
133
MODIFYING
LISTS
133
CONTENTS
YY
VII
OPERATIONS
ON
LISTS
135
SLICING
LISTS
137
ALIASING:
WHAT'S IN A NAME?
139
LIST
METHODS
141
WORKING
WITH
A LIST OF LISTS
142
A
SUMMARY
LIST
145
EXERCISES
145
9.
REPEATING
CODE USING LOOPS
149
PROCESSING
ITEMS IN A
LIST
149
PROCESSING
CHARACTERS IN STRINGS
151
LOOPING
OVER A RANGE OF NUMBERS
152
PROCESSING
LISTS USING
INDICES
154
NESTING
LOOPS IN LOOPS
156
LOOPING
UNTIL A CONDITION IS REACHED
160
REPETITION
BASED ON USER INPUT
162
CONTROLLING
LOOPS USING BREAK AND CONTINUE
163
REPEATING
WHAT
YOU'VE LEARNED
167
EXERCISES
168
10.
READING
AND WRITING
FILES .
173
WHAT
KINDS OF FILES ARE
THERE?
173
OPENING
A FILE
175
TECHNIQUES
FOR READING FILES
179
FILES
OVER THE INTERNET
183
WRITING
FILES
185
WRITING
EXAMPLE CALLS
USING STRINGLO
186
WRITING
ALGORITHMS THAT USE THE FILE-READING TECHNIQUES
188
MULTILINE RECORDS
195
LOOKING
AHEAD
198
NOTES
TO FILE AWAY
200
EXERCISES
201
11.
STORING
DATA USING OTHER COLLECTION TYPES
203
STORING
DATA USING
SETS
203
STORING
DATA USING
TUPLES
209
STORING
DATA USING DICTIONARIES
214
INVERTING
A DICTIONARY
222
USING
THE IN OPERATOR ON
TUPLES, SETS, AND DICTIONARIES
223
COMPARING COLLECTIONS
224
CREATING
NEW TYPE ANNOTATIONS
224
-
1.
CONTENTS
YY VIII
A
COLLECTION OF NEW INFORMATION
226
EXERCISES
226
12.
DESIGNING
ALGORITHMS .
.
229
SEARCHING
FOR THE TWO SMALLEST VALUES
230
TIMING
THE
FUNCTIONS
238
AT
A MINIMUM,
YOU SAW THIS
240
EXERCISES
240
13.
SEARCHING
AND SORTING
.
243
SEARCHING
A LIST
243
BINARY
SEARCH
250
SORTING
256
MORE
EFFICIENT SORTING ALGORITHMS
265
MERGE
SORT: A
FASTER SORTING ALGORITHM
266
SORTING
OUT WHAT YOU LEARNED
270
EXERCISES
272
14.
OBJECT-ORIENTED
PROGRAMMING .
275
UNDERSTANDING
A PROBLEM DOMAIN
276
FUNCTION
ISINSTANCE, CLASS OBJECT, AND
CLASS BOOK
277
WRITING A METHOD IN CLASS BOOK
280
PLUGGING
INTO PYTHON SYNTAX: MORE SPECIAL METHODS
285
A LITTLE BIT OF OO
THEORY
288
A
CASE STUDY: MOLECULES, ATOMS, AND PDB FILES
293
CLASSIFYING
WHAT YOU'VE LEARNED
297
EXERCISES
298
15.
TESTING
AND DEBUGGING .
.
303
WHY
DO YOU NEED TO TEST?
303
CASE
STUDY: TESTING ABOVE_FREEZING
304
CASE
STUDY: TESTING RUNNING_SUM
309
CHOOSING
TEST CASES
315
HUNTING
BUGS
316
BUGS
WE'VE PUT IN
YOUR EAR
317
EXERCISES
317
16.
CREATING
GRAPHICAL USER INTERFACES
321
USING
MODULE TKINTER
321
BUILDING
A BASIC GUI
323
MODELS,
VIEWS,
AND CONTROLLERS, OH MY!
327
CUSTOMIZING
THE VISUAL STYLE
331
CONTENTS
YY IX
INTRODUCING
A FEW
MORE WIDGETS
OBJECT-ORIENTED
GUIS
KEEPING
THE CONCEPTS FROM
BEING A GUI MESS
EXERCISES
17.
DATABASES .
OVERVIEW
CREATING AND POPULATING
RETRIEVING DATA
UPDATING
AND DELETING
USING NULL FOR
MISSING DATA
USING JOINS TO
COMBINE TABLES
KEYS AND
CONSTRAINTS
ADVANCED
FEATURES
SOME DATA
BASED ON WHAT
YOU LEARNED
EXERCISES
BIBLIOGRAPHY
.
INDEX .
335
338
339
340
343
343
344
348
351
352
353
357
358
364
365
.
369
.
371 |
any_adam_object | 1 |
author | Gries, Paul Campbell, Jennifer Montojo, Jason |
author_GND | (DE-588)115383166X (DE-588)1153831767 (DE-588)1153831937 |
author_facet | Gries, Paul Campbell, Jennifer Montojo, Jason |
author_role | aut aut aut |
author_sort | Gries, Paul |
author_variant | p g pg j c jc j m jm |
building | Verbundindex |
bvnumber | BV044977391 |
classification_rvk | ST 250 WC 7700 |
classification_tum | DAT 366f |
ctrlnum | (OCoLC)1042925298 (DE-599)GBV1002055415 |
discipline | Biologie Informatik |
edition | Third edition |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV044977391</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20241120</controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">180530s2017 xx a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781680502688</subfield><subfield code="9">978-1-68050-268-8</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1042925298</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV1002055415</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-91G</subfield><subfield code="a">DE-384</subfield><subfield code="a">DE-523</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="084" ind1=" " ind2=" "><subfield code="a">WC 7700</subfield><subfield code="0">(DE-625)148144:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">54.53</subfield><subfield code="2">bkl</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 366f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Gries, Paul</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)115383166X</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Practical programming</subfield><subfield code="b">an introduction to computer science using Python 3.6</subfield><subfield code="c">Paul Gries, Jennifer Campbell, Jason Montojo</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Third edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Raleigh, North Carolina</subfield><subfield code="b">The Pragmatic Bookshelf</subfield><subfield code="c">[2017]</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xv, 383 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</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="490" ind1="0" ind2=" "><subfield code="a">The pragmatic programmers</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="653" ind1=" " ind2=" "><subfield code="a">Computer programming</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="0">(DE-588)4123623-3</subfield><subfield code="a">Lehrbuch</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="700" ind1="1" ind2=" "><subfield code="a">Campbell, Jennifer</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1153831767</subfield><subfield code="4">aut</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Montojo, Jason</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1153831937</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung Bibliothek HTW Berlin</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=030369804&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-030369804</subfield></datafield></record></collection> |
genre | (DE-588)4123623-3 Lehrbuch gnd-content |
genre_facet | Lehrbuch |
id | DE-604.BV044977391 |
illustrated | Illustrated |
indexdate | 2024-11-20T13:01:44Z |
institution | BVB |
isbn | 9781680502688 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-030369804 |
oclc_num | 1042925298 |
open_access_boolean | |
owner | DE-91G DE-BY-TUM DE-384 DE-523 |
owner_facet | DE-91G DE-BY-TUM DE-384 DE-523 |
physical | xv, 383 Seiten Illustrationen, Diagramme |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | The Pragmatic Bookshelf |
record_format | marc |
series2 | The pragmatic programmers |
spelling | Gries, Paul Verfasser (DE-588)115383166X aut Practical programming an introduction to computer science using Python 3.6 Paul Gries, Jennifer Campbell, Jason Montojo Third edition Raleigh, North Carolina The Pragmatic Bookshelf [2017] xv, 383 Seiten Illustrationen, Diagramme txt rdacontent n rdamedia nc rdacarrier The pragmatic programmers Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf Computer programming (DE-588)4123623-3 Lehrbuch gnd-content Python Programmiersprache (DE-588)4434275-5 s DE-604 Campbell, Jennifer Verfasser (DE-588)1153831767 aut Montojo, Jason Verfasser (DE-588)1153831937 aut Digitalisierung Bibliothek HTW Berlin application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030369804&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Gries, Paul Campbell, Jennifer Montojo, Jason Practical programming an introduction to computer science using Python 3.6 Python Programmiersprache (DE-588)4434275-5 gnd |
subject_GND | (DE-588)4434275-5 (DE-588)4123623-3 |
title | Practical programming an introduction to computer science using Python 3.6 |
title_auth | Practical programming an introduction to computer science using Python 3.6 |
title_exact_search | Practical programming an introduction to computer science using Python 3.6 |
title_full | Practical programming an introduction to computer science using Python 3.6 Paul Gries, Jennifer Campbell, Jason Montojo |
title_fullStr | Practical programming an introduction to computer science using Python 3.6 Paul Gries, Jennifer Campbell, Jason Montojo |
title_full_unstemmed | Practical programming an introduction to computer science using Python 3.6 Paul Gries, Jennifer Campbell, Jason Montojo |
title_short | Practical programming |
title_sort | practical programming an introduction to computer science using python 3 6 |
title_sub | an introduction to computer science using Python 3.6 |
topic | Python Programmiersprache (DE-588)4434275-5 gnd |
topic_facet | Python Programmiersprache Lehrbuch |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030369804&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT griespaul practicalprogramminganintroductiontocomputerscienceusingpython36 AT campbelljennifer practicalprogramminganintroductiontocomputerscienceusingpython36 AT montojojason practicalprogramminganintroductiontocomputerscienceusingpython36 |