The Python language and its applications. Pdf:pdf full version free download

Source: Internet
Author: User

The Python language and its applications. Pdf:pdf full version free download https://u253469.ctfile.com/fs/253469-298090780

More ebook Downloads: Http://hadoopall.com/book

Welcome attention: Http://taogujuejin.com

Content Introduction

This book introduces the basics of Python language and its application in various fields, based on the latest version 3.x. The book first introduces some basic knowledge of the Python language, and then introduces examples of using Python to develop various applications in the business, scientific, and artistic fields. The text is simple and concise, the case is rich and practical, is a rare Python starter manual.

About the author

Bill Lubanovic

Penguin Computing is now a senior software engineer. began developing UNIX software in 1977, started developing GUI software in 1981, started developing database software in 1990, and started developing Web software in 1993. Co-author of the Linux System administration.

Directory

Foreword XIV
The 1th chapter on Python 1
1.1 Real-World Python 5
1.2 Python and other languages 5
1.3 Why Python 7 is selected
1.4 When should I not use Python 8
1.5 python 2 and Python 3 8
1.6 Installing Python 9
1.7 Running Python 9
1.7.1 using the Interactive interpreter 9
1.7.2 using Python files 10
1.7.3 Next 11
1.8 Meditation Moment 11
1.9 Exercise 11
2nd python basic elements: numbers, strings, and variables 13
2.1 variables, names, and objects 13
2.2 Number 16
2.2.1 Integer 17
2.2.2 Priority level 20
2.2.3 Base 21
2.2.4 Type Conversion 22
2.2.51 int type How big 23
2.2.6 floating Point 24
2.2.7 Mathematical Function 24
2.3 String 24
2.3.1 using quotation marks to create 25
2.3.2 using str () for type conversion 27
2.3.3 using \ Escape 27
2.3.4 using + stitching 28
2.3.5 using * Copy 28
2.3.6 using [] to extract characters 28
2.3.7 using [Start:end:step] Shards 29
2.3.8 using Len () for length 31
2.3.9 using Split () split 32
2.3.10 using join () Merge 32
2.3.11 familiar with string 32
2.3.12 Case and Alignment 33
2.3.13 Replace with replace () 34
2.3.14 more about the contents of a string 35
2.4 Exercise 35
3rd python containers: Lists, tuples, dictionaries, and collections 36
3.1 Lists and tuples 36
3.2 Listing 37
3.2.1 Creating a list using [] or list 37
3.2.2 Using list () to convert other data types to list 37
3.2.3 using [offset] to get the element 38
3.2.4 List of included lists 39
3.2.5 using [offset] to modify element 39
3.2.6 specifying a range and extracting elements using slices 40
3.2.7 using append () to add elements to tail 40
3.2.8 using Extend () or + = Merge List 40
3.2.9 inserting elements at a specified position using insert () 41
3.2.10 using Del to delete the element at the specified position 41
3.2.11 using remove () to delete an element with the specified value 42
3.2.12 using pop () to get and delete elements at a specified location 42
3.2.13 using index () to query for element positions with a specific value 42
3.2.14 using in to determine if the value exists 42
3.2.15 using count () to record the number of occurrences of a specific value 43
3.2.16 using join () to convert to string 43
3.2.17 using sort () to rearrange elements 44
3.2.18 using Len () to get the length 44
3.2.19 using = assignment, using copy () 45
3.3 RMB Group 46
3.3.1 using () to create a tuple 46
3.3.2 tuples and List 47
3.4 Dictionary 47
3.4.1 using {} to create a dictionary 48
3.4.2 Convert to Dictionary using Dict () 48
3.4.3 Adding or modifying elements using [key] 49
3.4.4 using the update () Merge dictionary 50
3.4.5 using Del to delete an element with the specified key 51
3.4.6 Remove all elements using clear () 51
3.4.7 use in to determine whether there are 51
3.4.8 using [key] to get the element 52
3.4.9 use keys () to get all keys 52
3.4.10 use VALUES () to get all values 53
3.4.11 use items () to get all key-value pairs 53
3.4.12 using = assignment, using copy () 53
3.5 Set-Together 53
3.5.1 creating a collection using Set () 54
3.5.2 using Set () to convert other types to collections 54
3.5.3 using in test value exists 55
3.5.4 Merging and Operators 56
3.6 Comparing several data structures 58
3.7 Building large data Structures 59
3.8 Exercise 60
...

The Python language and its applications. Pdf:pdf full version free download

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.