Toggle navigation
RutLib.com
По категориям
Научная и техническая литература (2046)
Бизнес (589)
Военно-историческая литература (457)
Гуманитарные науки и искусство (258)
Иностранные языки (27)
Медицина (64)
Научно-популярная литература (457)
Нормативная документация (22)
Техническая литература (21)
Точные и естественные науки (44)
Учебники (75)
Энциклопедии и словари (32)
Компьютерная литература (56)
Веб-дизайн (1)
Программирование (55)
Разное (3375)
Историография (607)
Кулинария (217)
На досуге (144)
Настольные игры и Поделки (5)
Нетрадиционная медицина (292)
Образование, воспитание и развитие детей (29)
Популярная психология (794)
Публицистика (442)
Религиозная литература (310)
Сад, огород, животноводство (148)
Спорт и Боевые искусства (63)
Строительство и ремонт (81)
Эзотерика (243)
Художественная литература (25896)
1001 обязательная книга (597)
Библиотеки (314)
Боевики (188)
Детективы (1102)
Детская, подростковая литература (750)
Исторические книги (161)
Классика, современная проза и поэзия (1332)
Любовный роман (192)
Мистика, ужасы (226)
Многоавторские сборники (11997)
Приключенческая литература (203)
Сатира, юмор (121)
Собрания книг иностранных авторов (1155)
Собрания книг русскоязычных авторов (3742)
Фантастика, фэнтези (3816)
По популярности
По рейтингу
Избранные
Войти
Поиск
Practical Programming, Fourth Edition
Рейтинг:
Добавить в избранные:
Автор:
Dmitry Zinoviev
Страниц:
163
1.
Pr actical Programming, Fourth Edition
2.
An Introduction to Computer Science Using Python 3.14
3.
by Dmitry Zinoviev
4.
About the Pragmatic Bookshelf
5.
Table of Contents
6.
What Readers Are Saying About Practical Programmi ng
7.
Acknowledgments
8.
From Paul, Jennifer, and Jason:
9.
From Dmitry:
10.
Preface
11.
Our Approach
12.
Further Reading
13.
What You’ll See
14.
Chapter 1: What’s Programming?
15.
Programs and Programming
16.
What’s a Programming Language?
17.
What’s a Bug?
18.
The Difference Between Brackets, Braces, and Parentheses
19.
Installing Python
20.
Chapter 2: Hello, Python
21.
How Does a Computer Run a Python Pro gram?
22.
Expressions and Values: Arithmetic in Python
23.
What Is a Type?
24.
Variables and Computer Memory: Reme mbering Values
25.
How Python Tells You Something Went Wro ng
26.
A Single Statement That Spans Mult iple Lines
27.
Describing Code
28.
Making Code Readable
29.
The Object of This Chapter
30.
Exercises
31.
Chapter 3: Designing and Using Functions
32.
Functions That Python Provides
33.
Identities: How Python Keeps Track of Values
34.
Defining Custom Functions
35.
Using Local Variables for Temporary Storage
36.
Tracing Function Calls in th e Memory Model
37.
Designing New Functions: A Recipe
38.
Writing and Running a Program
39.
Omitting a return Statement: None
40.
Dealing with Situations Tha t Your Code Doesn’t Handle
41.
What Did You Call That?
42.
Exercises
43.
Chapter 4: Working with Text
44.
Creating Strings of Characters
45.
Using Special Characters in Strings
46.
Creating a Multiline String
47.
Printing Information
48.
Getting Information from the Keyb oard
49.
Formatted Strings
50.
Quotes About Strings
51.
Exercises
52.
Chapter 5: Making Choices
53.
A Boolean Type
54.
Choosing Which Statements to Exec ute
55.
Nested if Statements
56.
Memorizing Results of a Boolean Express ion Evaluation
57.
You Learned About Booleans: True or Fa lse?
58.
Exercises
59.
Chapter 6: A Modular Approach to Program Organization
60.
Importing Modules
61.
Defining Your Modules
62.
Testing Your Code Semiautomatically
63.
Tips for Grouping Your Functions
64.
Organizing Your Thoughts
65.
Exercises
66.
Chapter 7: Using Methods
67.
Modules, Classes, and Methods
68.
Calling Methods
69.
Exploring String Methods
70.
What Are Those Underscores?
71.
A Methodical Review
72.
Exercises
73.
Chapter 8: Storing Collections of Data Using Lists
74.
Storing and Accessing Data in Lists
75.
Type Annotations for Lists
76.
Modifying Lists
77.
Operations on Lists
78.
Slicing Lists
79.
Aliasing: What’s in a Name?
80.
List Methods
81.
Working with a List of Lists
82.
Splitting Strings
83.
A Summary List
84.
Exercises
85.
Chapter 9: Repeating Code Using Loops
86.
Processing Items in a List
87.
Processing Characters in Strings
88.
Looping Over a Range of Numbers
89.
Processing Lists Using Indices
90.
Nesting Loops in Loops
91.
Looping Until a Condition Is Reache d
92.
Repetition Based on User Input
93.
Controlling Loops Using break and continue
94.
Repeating What You’ve Learned
95.
Exercises
96.
Chapter 10: Reading and Writing Files
97.
What Kinds of Files Are There?
98.
Opening a File
99.
Techniques for Reading Files
100.
Files over the Internet
101.
Writing Files
102.
Writing Example Calls Using Strin gIO
103.
Writing Algorithms That Use t he File-Reading Techniques
104.
Multiline Records
105.
Looking Ahead
106.
Notes to File Away
107.
Exercises
108.
Chapter 11: Storing Data Using Other Collection Types
109.
Storing Data Using Sets
110.
Storing Data Using Tuples
111.
Storing Data Using Dictionaries
112.
Inverting a Dictionary
113.
Using the in Operator on Tuples, Sets, and Dictionaries
114.
Comparing Collections
115.
Creating New Type Annotations
116.
A Collection of New Information
117.
Exercises
118.
Chapter 12: Designing and Benchmarking Algorithms
119.
Searching for the Two Smallest Values
120.
Timing the Functions
121.
At a Minimum, You Saw This
122.
Exercises
123.
Chapter 13: Searching and Sorting
124.
Searching a List
125.
Binary Search
126.
Sorting
127.
More Efficient Sorting Algori thms
128.
Merge Sort: A Faster Sorting A lgorithm
129.
Sorting Out What You Learned
130.
Exercises
131.
Chapter 14: Object-Oriented Programming
132.
Understanding a Problem Domain
133.
Function isinstance, Class object, and C lass Book
134.
Writing a Method in Class Book
135.
Plugging into Python Syntax: Mo re Special Methods
136.
A Little Bit of OO Theory
137.
A Case Study: Molecules, Atoms, and PDB Fil es
138.
Classifying What You’ve Learned
139.
Exercises
140.
Chapter 15: Testing and Debugging
141.
Why Do You Need to Test?
142.
Case Study: Testing above_fr eezing
143.
Case Study: Testing running_sum
144.
Choosing Test Cases
145.
Hunting Bugs
146.
Bugs We’ve Put in Your Ear
147.
Exercises
148.
Chapter 16: Mastering Iteration Tools
149.
Core Idioms
150.
Functional Programming
151.
Built-In and Standard Library Helpers
152.
Let’s Reiterate
153.
Exercises
154.
Chapter 17: Handling Exceptions
155.
Core Idioms
156.
Accessing Exception Details
157.
Common Built-in Exceptions
158.
Raising and Chaining Exceptions
159.
Defining Custom Exceptions
160.
Exceptionally Important!
161.
Exercises
162.
Bibliography
163.
You May Be Interested In…
Отправить
×
Войти в систему
Войти с помощью соц. сетей: