Thư viện Trường Đại học Phú Xuân
Python Programming

Nguồn ngoài

Python Programming

Introduction to Python Programming provides a comprehensive foundation in programming concepts and skills, and it is aligned to the scope of most introductory courses. A wide array of scenarios, contexts, and problems reflect programming applications in many disciplines and careers. The offering is suitable for a diverse learner audience, including those pursuing computer science, business, science, social science, statistics, data science, and related areas of study and employment.

Tác giả
OpenStax
Nhà xuất bản
LibreTexts
Nguồn
LibreTexts
Giấy phép
CC BY
Ngôn ngữ
EN
Danh mục
Công nghệ thông tin
Mục lục· 145 mục
  1. 01: Statements
  2. 1.00: Introduction
  3. 1.01: Background
  4. 1.02: Input Output
  5. 1.03: Variables
  6. 1.04: String Basics
  7. 1.05: Number Basics
  8. 1.06: Error Messages
  9. 1.07: Comments
  10. 1.08: Why Python
  11. 1.09: Chapter summary
  12. 02: Expressions
  13. 2.00: Introduction
  14. 2.01: The Python Shell
  15. 2.02: Type Conversion
  16. 2.03: Mixed Data Types
  17. 2.04: Floating-point Errors
  18. 2.05: Dividing Integers
  19. 2.06: The Math Module
  20. 2.07: Formatting Code
  21. 2.08: Python Careers
  22. 2.09: Chapter Summary
  23. 03: Objects
  24. 3.00: Introduction
  25. 3.01: Strings Revisited
  26. 3.02: Formatted Strings
  27. 3.03: Variables Revisited
  28. 3.04: List Basics
  29. 3.05: Tuple Basics
  30. 3.06: Chapter Summary
  31. 04: Decisions
  32. 4.00: Introduction
  33. 4.01: Boolean Values
  34. 4.02: If-else Statements
  35. 4.03: Boolean Operations
  36. 4.04: Operator Precedence
  37. 4.05: Chained Decisions
  38. 4.06: Nested Decisions
  39. 4.07: Conditional Expressions
  40. 4.08: Chapter Summary
  41. 05: Loops
  42. 5.00: Introduction
  43. 5.01: While Loop
  44. 5.02: For Loop
  45. 5.03: Nested Loops
  46. 5.04: Break and Continue
  47. 5.05: Loop Else
  48. 5.06: Chapter Summary
  49. 06: Functions
  50. 6.00: Introduction
  51. 6.01: Defining Functions
  52. 6.02: Control Flow
  53. 6.03: Variable Scope
  54. 6.04: Parameters
  55. 6.05: Return Values
  56. 6.06: Keyword Arguments
  57. 6.07: Chapter Summary
  58. 07: Modules
  59. 7.00: Introduction
  60. 7.01: Module Basics
  61. 7.02: Importing Names
  62. 7.03: Top-level Code
  63. 7.04: The Help Function
  64. 7.05: Finding Modules
  65. 7.06: Chapter Summary
  66. 08: Strings
  67. 8.00: Introduction
  68. 8.01: String Operations
  69. 8.02: String Slicing
  70. 8.03: Searching Testing Strings
  71. 8.04: String Formatting
  72. 8.05: Splitting Joining Strings
  73. 8.06: Chapter Summary
  74. 09: Lists
  75. 9.00: Introduction
  76. 9.01: Modifying and Iterating Lists
  77. 9.02: Sorting and Reversing Lists
  78. 9.03: Common List Operations
  79. 9.04: Nested Lists
  80. 9.05: List Comprehensions
  81. 9.06: Chapter Summary
  82. 10: Dictionaries
  83. 10.00: Introduction
  84. 10.01: Dictionary Basics
  85. 10.02: Dictionary Creation
  86. 10.03: Dictionary Operations
  87. 10.04: Conditionals and Looping in Dictionaries
  88. 10.05: Nested Dictionaries and Dictionary Comprehension
  89. 10.06: Chapter Summary
  90. 11: Classes
  91. 11.00: Introduction
  92. 11.01: Object-Oriented Programming Basics
  93. 11.02: Classes and Instances
  94. 11.03: Instance Methods
  95. 11.04: Overloading Operators
  96. 11.05: Using Modules with Classes
  97. 11.06: Chapter Summary
  98. 12: Recursion
  99. 12.00: Introduction
  100. 12.01: Recursion Basics
  101. 12.02: Simple Math Recursion
  102. 12.03: Recursion with Strings and Lists
  103. 12.04: More Math Recursion
  104. 12.05: Using Recursion to Solve Problems
  105. 12.06: Chapter Summary
  106. 13: Inheritance
  107. 13.00: Introduction
  108. 13.01: Inheritance Basics
  109. 13.02: Attribute Access
  110. 13.03: Methods
  111. 13.04: Hierarchical Inheritance
  112. 13.05: Multiple Inheritance and Mixin Classes
  113. 13.06: Chapter Summary
  114. 14: Files
  115. 14.00: Introduction
  116. 14.01: Reading from Files
  117. 14.02: Writing to Files
  118. 14.03: Files in Different Locations and Working with CSV Files
  119. 14.04: Handling Exceptions
  120. 14.05: Raising Exceptions
  121. 14.06: Chapter Summary
  122. 15: Data Science
  123. 15.00: Introduction
  124. 15.01: Introduction to Data Science
  125. 15.02: NumPy
  126. 15.03: Pandas
  127. 15.04: Exploratory Data Analysis
  128. 15.05: Data Visualization
  129. 15.06: Chapter Summary
  130. 16: Answer Key
  131. 16.00: Chapter 1
  132. 16.01: Chapter 2
  133. 16.02: Chapter 3
  134. 16.03: Chapter 4
  135. 16.04: Chapter 5
  136. 16.05: Chapter 6
  137. 16.06: Chapter 7
  138. 16.07: Chapter 8
  139. 16.08: Chapter 9
  140. 16.09: Chapter 10
  141. 16.10: Chapter 11
  142. 16.11: Chapter 12
  143. 16.12: Chapter 13
  144. 16.13: Chapter 14
  145. 16.14: Chapter 15