With old Ziko python: Easy Getting Started PDF

Source: Internet
Author: User
Tags mathematical functions sqlite database

: Network Disk Download

Content Introduction· · · · · ·

"With old Ziko Python: From getting started to mastering" is an introductory Python tutorial for the basic reader of programming 0, covering the basics of Python and preliminary applications. In a relatively brisk style, to 0 of basic learners to introduce a more popular, and the use of a wide range of programming language, so, "with the old Ziko python: from the beginner to proficient" read not obscure, and in which a lot of seemingly unrelated to Python programming, But content that is relevant to the learner's future programmer career.

"With old Ziko Python: From getting started to mastering" in particular emphasized the basic methods of learning and using Python, learning a high-level language, mastering its various rules is necessary, but learn the "introspection" method is more important, this is "with the old Ziko Python: From the beginning to mastery" to achieve " The purpose of giving people a fish is better than giving a man a fishing.

"With old Ziko Python: From getting started to mastering" is a reading for beginners, not a developer's manual for developers, so it's not a read for the middle and senior readers.

Author profile ...

Lao Qi, now living in Suzhou, the online tutorial "0 basic Python" and "0 Basic Python (2nd edition)" In the industry has aroused great repercussions. Willing to discuss technical issues with friends from all sides and provide relevant technical services.

Catalogue-1th Quarter Basics
Chapter NO. 0 Preparation 2
0.1 stories about Python 2
0.1.1 python yesterday, Today and tomorrow 3
0.1.2 Python features 4
0.1.3 Python Philosophy 5
0.2 from small to expert 5
0.2.10 Base 6
0.2.2 Reading Code 6
0.2.3 Debug Program 7
0.3 Installing Python7
0.3.1 Ubuntu System 8
0.3.2 Windows System 9
0.3.3 MAC OS x System 9
0.4 Integrated development Environment (IDE) 9
0.4.1 memorable moment: Hello world9
0.4.2 Integrated development Environment Overview 10
0.4.3 Python's IDE12
1th. Basic object Type 13
1.1 Number 13
1.1.1 Number 14
1.1.2 Variable 15
1.1.3 Simple Arithmetic 16
1.1.4 integer Overflow problem 17
1.2 Division 17
1.2.1 Integers to integers 17
1.2.2 Floating-point numbers divide by integers 18
1.2.3 Referencing module Solving division problem 19
1.2.4 more than 20
1.2.5 Rounding 20
1.3 Common mathematical functions and operations priority 21
1.3.1 Using the Math module 21
1.3.22 Functions 23
1.3.3 Operation Priority 23
1.4 The first simple program 24
1.4.1 Program 24
1.4.2 Programming with the IDE 25
1.4.3 HELLO,WORLD25
1.4.4 a topic 26
1.5 String 28
1.5.1 String 29
1.5.2 Variables and Strings 30
1.5.3 Connection String 31
1.5.4 Escape Character 33
1.5.5 Raw String 34
1.5.6 Raw_input and Print34
1.5.7 indexes and slices 37
1.5.8 Basic Operations 39
1.5.9 Common String Method 42
1.5.10 String formatted output 45
1.6 Character Encoding 47
1.6.1 Code 47
1.6.2 character encoding in a computer 49
1.6.3 encode and Decode50
1.6.4 avoid Chinese is garbled 51
1.7 Listing 52
1.7.1 Definition 52
1.7.2 indexes and slices 53
1.7.3 Reversal 54
1.7.4 operation of the list 55
Functions of the 1.7.5 list 56
1.8 Comparing lists and strings 66
1.8.1 Same Point 66
1.8.2 Difference 67
1.8.3 Multi-dimensional list 68
1.8.4 list and String conversions 69
1.8.5 "[Sep]". Join (List) 69
1.9 RMB Group 70
1.9.1 Definition 70
1.9.2 indexes and slices 71
1.9.3 Use 72
1.10 Dictionary 72
1.10.1 Creating a dictionary 73
1.10.2 the value of the Access dictionary 74
1.10.3 Basic Operations 75
1.10.4 String Formatted output 76
1.10.5 Related Concepts 77
Functions of the 1.10.6 Dictionary 77
1.11 Set-together 86
1.11.1 Creating a Collection 86
Functions of the 1.11.2 collection 88
1.11.3 Supplemental Knowledge 91
1.11.4 Immutable Collection 91
1.11.5 Set Operation 92
2nd. Statements and Documents 95
2.1 Operator 95
2.1.1 Arithmetic operator 95
2.1.2 Comparison operator 96
2.1.3 Logical operator 97
2.2 Simple Statement 99
2.2.1 Print100
2.2.2 Import101
2.2.3 Assignment Value 102
2.3 Item Statement 104
2.3.1 If statement 104
2.3.2 If ... elif else105
2.3.33-dollar operator 107
2.4 For Loop 107
2.4.1 Simple for Loop 107
2.4.2 Range (start,stop[, step) 109
2.4.3 for Object 112
2.4.4 Zip () 114
2.4.5 Enumerate () 117
2.4.6 List Resolution 119
2.5 While Loop 120
2.5.1 Guessing number games 120
2.5.2 Break and Continue123
2.5.3 while...else123
2.5.4 for...else124
2.6 Files 124
2.6.1 opening a file 125
2.6.2 Creating a File 127
2.6.3 using with128
Status of the 2.6.4 file 129
2.6.5 read/readline/readlines129
2.6.6 read a lot of documents 132
2.6.7 Seek (133)
2.7 Iteration 134
2.7.1 Iterative Tools 135
2.7.2 File iterator 137
3rd Chapter Function 139
3.1 Understanding Functions 139
3.1.1 Variables are more than just a few 140
3.1.2 Building a simple function 140
3.1.3 Building a practical function 141
3.1.4 about naming 143
3.1.5 Calling function 144
3.1.6 Precautions 145
3.1.7 return value 146
Document 148 in the 3.1.8 function
3.2 Noun discrimination 149
3.2.1 Parameters and Variables 149
3.2.2 Global variables and local variables 150
3.2.3 Namespace 151
3.3 Parameter Collection 152
3.3.1 Parameter Collection 153
3.3.2 More elegant Way 155
3.3.3 Integrated through 156
3.4 Special Functions 158
3.4.1 Recursion 158
3.4.2 Several special functions 160
3.5 Exercise 166
3.5.1 solution of one-element two-time equation 166
3.5.2 Statistical Exam score 168
3.5.3 for prime number 170
3.5.4 Considerations for writing functions 171
2nd season Advanced
Chapter 4th Class 174
4.1 Basic Concepts 174
4.1.1 Problem Space 175
4.1.2 Object 175
4.1.3 Object-oriented 176
4.1.4 Class 177
4.1.5 Writing class 178
4.2 Detailed class 179
4.2.1 New class and old class 179
4.2.2 Creating a Class 181
Functions in the 4.2.3 Class (method) 183
4.2.4 Classes and Instances 185
4.2.5 Self's role 185
4.2.6 Document String 186
4.3 Analysis of the relevant concepts 187
4.3.1 class properties and Instance Properties 187
4.3.2 Data Flow 189
4.3.3 Namespace 191
4.3.4 Scope 193
4.4 Inheritance 194
4.4.1 Basic Concepts 195
4.4.2 Multiple Inheritance 196
4.4.3 sequence of multiple inheritance 197
4.4.4 Super Function 198
4.5 Method 200
4.5.1 Binding Method 200
4.5.2 Non-binding method 201
4.5.3 static methods and class methods 201
4.6 Polymorphism and Encapsulation 203
4.6.1 Polymorphism 203
4.6.2 Encapsulation and Privatization 206
4.7 Special properties and methods 208
4.7.1 __dict__208
4.7.2 __slots__212
4.7.3 __getattr__, __setattr__ and other similar methods 213
4.7.4 Get Attribute Order 217
4.8 iterators 218
4.8.1 __iter__ () 218
4.8.2 range () and xrange () 220
4.9 Generator 221
4.9.1 Simple Generator 221
4.9.2 Defining and executing procedures 223
4.9.3 yield224
4.9.4 Generator Method 225
5th Error and Exception 227
5.1 Error 227
5.2 Exception 227
5.3 Handling Exceptions 230
5.3.1 try...except ... 230
5.3.2 Handling multiple Exceptions 232
5.3.3 Else clause 234
5.3.4 finally clause 235
5.3.5 Assert statement 236
Module 239 of the 6th Chapter
6.1 Writing the module 239
6.1.1 Module is a program 239
Position of the 6.1.2 module 241
The role of 6.1.3 __all__ in modules 243
6.1.4 Package and Library 245
6.2 Self-bringing battery 245
6.2.1 Reference Method 246
6.2.2 in-depth exploration 247
6.2.3 Help, documentation, and source code 248
6.3 Standard Library 250
6.3.1 sys250
6.3.2 copy253
6.3.3 os254
6.3.4 heapq261
6.3.5 deque266
6.3.6 calendar267
6.3.7 time269
6.3.8 datetime273
6.3.9 urllib275
6.3.10 urllib2279
6.3.11 XML280
6.3.12 JSON287
6.4 Third-party libraries 289
6.4.1 Installing third-party libraries 289
6.4.2 taking requests as an example 290
7th. Save Data 295
7.1 pickle295
7.2 shelve297
7.3 MySQL Database 299
7.3.1 MySQL Overview 299
7.3.2 Installation 300
7.3.3 Run 300
7.3.4 installation python-mysqldb301
7.3.5 connecting to a database 302
7.3.6 database Table 303
7.3.7 Operating Database 304
7.3.8 Update Data 309
7.4 MongoDB Database 310
7.4.1 Installation MongoDB311
7.4.2 Boot 311
7.4.3 Installation pymongo312
7.4.4 Connection MongoDB312
7.4.5 Edit 314
7.5 SQLite Database 317
7.5.1 establishing a Connection object 318
7.5.2 Cursor Object 318
7.6 electronic form 320
7.6.1 openpyl321
7.6.2 Other third-party libraries 326
3rd Quarter Combat
The 8th chapter uses Tornado to make the website 328
8.1 Preparing for the website 328
8.1.1 Development Framework 328
8.1.2 Python Framework 329
8.1.3 Tornado329
8.1.4 Installation Tornado330
8.2 Analysis Hello331
8.2.1 Web Server Workflow 332
8.2.2 Anatomical specimens 332
8.3 Make a simple website 336
8.3.1 Basic Structure 336
8.3.21 Basic Posture 337
8.3.3 connecting to a database 340
8.3.4 Login Interface 340
8.3.5 Data Transfer 345
8.3.6 Data Processing 347
8.3.7 Template 350
8.3.8 Escape Character 355
8.3.9 Template Inheritance 357
8.3.10 CSS358
8.3.11 Cookies and Security 359
8.3.12 XSRF362
8.3.13 user Authentication 364
8.3.14 Related Concepts 367
Synchronization of 8.3.15 Tornado 368
8.3.16 Asynchronous Settings 369
9th Scientific Calculation 373
9.1 Preparing for the calculation 373
9.1.1 Chat 373
9.1.2 Installation 374
9.1.3 Basic Operations 374
9.2 Pandas376
9.2.1 Basic Data Structure 376
9.2.2 reading a CSV file 382
9.2.3 Processing Stock Data 387

: Network Disk Download

With old Ziko python: Easy Getting Started PDF

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.