Hướng dẫn python definitive guide pdf - hướng dẫn dứt khoát về python pdf
Show
» Hãy mua sách tại các trang thương mại điện tử uy tín Python là một trong những ngôn ngữ lập trình đang được chú ý bởi tính đa dạng về ứng dụng, thư viện phong phú và cộng đồng đông đảo. Cuốn sách nhỏ này được viết để hỗ trợ những ai trong quá trình mình bắt đầu học Python và có thể giải quyết các bài toán cơ bản theo nhu cầu của mình. Hy vọng những ghi chép trong tài liệu này sẽ giúp ích cho những người đang quan tâm đến việc ứng dụng Python ứng dụng vào công việc và xử lý hiện tại. Từ khóa: Lập trình; Ngôn ngữ Python; Ngôn ngữ lập trình Tag: Python Contents
Thông tin chung (Programming with Python)Giới thiệu cơ bản (Programming with Python) : Programming with Python Giới thiệu cơ bản (Programming with Python)
Tên tài liệu : Programming with PythonTác giả : T.R. PadmanabhanSố trang : 348Ngôn ngữ : Tiếng AnhFormat : PDFThể loại : Ebook Lập Trình Ngôn Ngữ Python Definitely this is not justification enough for another book on Python. The variety of data structures and the flexibility and vastness of the modules in the Python library are daunting. The most common features of Python have been dealt with in this book bringing out their subtleties; their potential and suitability for varied use through illustrations. Nothing is glossed over. One can go through the illustrative examples, repeat them in toto, or run their variants at one’s own pace and progress. The matter has been presented in a logical and graded manner. Some of the exercises at the ends of chapters are pedagogical. But many of them call for more efforts—perhaps candidates for minor projects. Concepts associated with constructs like yield, iterator, generator, decorator, super (inheritance), format (Python 3) are often considered to be abstract and difficult to digest. A conscious effort has been made to explain these through apt examples. The associated exercises complement these in different ways. Any feedback by way of corrections, clarifications, or any queries are welcome. 1 Python–A Calculator 12 Algebra with Variables 7 2.1 Variables7 2.2 Complex Quantities 11 2.3 Common Functions with Numbers 11 2.4 Logical Operators 14 2.5 Strings and Printing 15 2.6 Exercises16 3 Simple Programs19 3.1 Basic Program Structure19 3.2 Flow Chart24 3.3 Conditional Operations 26 3.4 Iterative Routines 31 3.5 Exercises36 4 Functions and Modules 41 4.1 Functions 41 4.1.1 Lambda Function45 4.1.2 Recursion 46 4.1.3 Nested Functions 47 4.1.4 Nested Scope50 4.2 Modules 52 4.2.1 Built-in Modules 62 4.2.2 Math Module62 4.3 Exercises64 5 Sequences and Operations with Sequences 69 5.1 String 69 5.2 Tuple 71 5.3 List 72 5.4 Dictionary 73 5.5 Set 73 5.6 Operators with Sequences75 5.6.1 All and Any 75 5.6.2 sum and eval77 5.7 Iterator 78 5.8 Iterator Functions 81 5.9 Generators86 5.10 Hashing 88 5.11 Input 89 5.12 Exercises91 6 Additional Operations with Sequences 99 6.1 Slicing 99 6.2 Reversing 103 6.3 Sorting 104 6.4 Operations with Sequences 108 6.4.1 Max() and Min() Functions 109 6.4.2 Additional Operations with Sequences . 112 6.5 Operations with Sets 115 6.6 Frozensets 122 6.7 Tests and Comparisons with Sets and Frozensets 123 6.8 Operations with Dictionaries 124 6.9 *Arg and **Kwarg 129 6.10 Exercises133 7 Operations for Text Processing 137 7.1 Unicode 137 7.2 Coding 138 7.2.1 UTF-8138 7.3 Operations with string S141 7.4 Number Representations and Conversions . 144 7.4.1 Integers 145 7.4.2 Floating Point Numbers 146 7.5 More String Operations149 7.6 bytes and bytearrays 157 7.7 Other 7.8 string Module 166 7.9 Exercises167 11 Thời gian hoạt động liên quan 265 11.1 Tiêu chuẩn thời gian 265 11.2 Mô -đun thời gian 267 11.3 Mô -đun DateTime 274 11.3.1 Đối tượng thời gian 276 11.3.2 Đối tượng DateTime 277 11.3.3 Khoảng thời gian 280 11.3.4 TZINFO 282 11.3.5287 11,5 Mô -đun thời gian 295 11.6 Bài tập299 12 AIDS Lập trình chức năng 301 12.1 Mô -đun vận hành 301 12.1.1 Phương pháp chung 305 12.1.2 Các toán tử trong vị trí307 12.2 ITERTOOLS308 12.2.1 Lọc 315 12.3 Máy phát điệnHàm số .329 12.6.3 Đối tượng một phần 331 12.6.4 Chức năng giảm 332 12.7 Bài tập332 Liên kết Tải xuống Sách điện tử Lập trình với Python(Google Drive, Mediafire Và Meganz.Google Drive, Mediafire và MegaNZ. Bấm vào button link để tải. Không quảng cáo) |