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

Nguồn ngoài

Introduction to Programming Concepts - Python

Nhà xuất bản
LibreTexts
Nguồn
LibreTexts
Ngôn ngữ
EN
Danh mục
Công nghệ thông tin
Mục lục· 204 mục
  1. 01: Introduction
  2. 1.01: Why should you learn to write programs
  3. 1.02: Creativity and Motivation
  4. 1.03: Computer Hardware Architecture
  5. 1.04: Understanding Programming
  6. 1.05: Words and Sentences
  7. 1.06: Conversing with Python
  8. 1.07: Terminology - Interpreter and Compiler
  9. 1.08: Writing a Program
  10. 1.09: What is a program
  11. 1.10: The Building Blocks of Programs
  12. 1.11: What could possibly go wrong
  13. 1.12: The Learning Journey
  14. 1.13: Introduction (Exercises)
  15. 1.14: Introduction (Glossary)
  16. 02: Variables Expressions and Statements
  17. 2.01: Values and Types
  18. 2.02: Variables
  19. 2.03: Variable names and Keywords
  20. 2.04: Statements
  21. 2.05: Operators and Operands
  22. 2.06: Expressions
  23. 2.07: Order of Operations
  24. 2.08: Modulus Operator
  25. 2.09: String Operations
  26. 2.10: Asking the user for input
  27. 2.11: Comments
  28. 2.12: Choosing Mnemonic Variable Names
  29. 2.13: Debugging
  30. 2.14: Variables, Expressions, and Statements (Exercises)
  31. 2.15: Glossary
  32. 03: Conditional Execution
  33. 3.01: Boolean Expressions
  34. 3.02: Logical Operators
  35. 3.03: Conditional Execution
  36. 3.04: Alternative Execution
  37. 3.05: Chained Conditionals
  38. 3.06: Nested Conditionals
  39. 3.07: Catching exceptions Using Try and Except
  40. 3.08: Short-Circuit Evaluation of Logical Expressions
  41. 3.09: Debugging
  42. 3.10: Conditional Execution (Exercises)
  43. 3.11: Conditional Execution (Glossary)
  44. 04: Functions
  45. 4.01: Function Calls
  46. 4.02: Built-in Functions
  47. 4.03: Type Conversion Functions
  48. 4.04: Random Numbers
  49. 4.05: Math Functions
  50. 4.06: Adding New Functions
  51. 4.07: Definitions and Uses
  52. 4.08: Flow of Execution
  53. 4.09: Parameters and Arguments
  54. 4.10: Fruitful functions and void functions
  55. 4.11: Why functions?
  56. 4.12: Debugging
  57. 4.13: Functions (Exercises)
  58. 4.14: Functions (Glossary)
  59. 05: Iterations
  60. 5.01: Updating Variables
  61. 5.02: The while Statement
  62. 5.03: Infinite Loops
  63. 5.04: "Infinite loops" and break
  64. 5.05: Finishing iterations with continue
  65. 5.06: Definite loops using for
  66. 5.07: Loop patterns
  67. 5.08: Counting and Summing Loops
  68. 5.09: Maximum and Minimum Loops
  69. 5.10: Debugging
  70. 5.11: Iterations (Exercises)
  71. 5.12: Iterations (Glossary)
  72. 06: Strings
  73. 6.01: A string is a sequence
  74. 6.02: Getting the length of a string using len
  75. 6.03: Traversal through a string with a loop
  76. 6.04: String Slices
  77. 6.05: Strings are immutable
  78. 6.06: Looping and Counting
  79. 6.07: The in operator
  80. 6.08: String Comparison
  81. 6.09: String Methods
  82. 6.10: Parsing strings
  83. 6.11: Format operator
  84. 6.12: Debugging
  85. 6.13: Strings (Exercises)
  86. 6.14: Strings (Glossary)
  87. 07: Files
  88. 7.01: Persistence
  89. 7.02: Opening Files
  90. 7.03: Text files and Lines
  91. 7.04: Reading Files
  92. 7.05: Searching through a File
  93. 7.06: Letting the user choose the file name
  94. 7.07: Using try, except, and open
  95. 7.08: Writing Files
  96. 7.09: Debugging
  97. 7.10: Files (Exercises)
  98. 7.11: Files (Glossary)
  99. 08: Lists
  100. 8.01: A list is a sequence
  101. 8.02: Lists are mutable
  102. 8.03: Traversing a List
  103. 8.04: List operations
  104. 8.05: List Slices
  105. 8.06: List Methods
  106. 8.07: Deleting Elements
  107. 8.08: Lists and Functions
  108. 8.09: Lists and Strings
  109. 8.10: Parsing lines
  110. 8.11: Objects and Values
  111. 8.12: Aliasing
  112. 8.13: List arguments
  113. 8.14: Debugging
  114. 8.15: Lists (Exercises)
  115. 8.16: Lists (Glossary)
  116. 09: Dictionaries
  117. 9.1: Dictionaries
  118. 9.2: Dictionary as a Set of Counters
  119. 9.3: Dictionaries and Files
  120. 9.4: Looping and Dictionaries
  121. 9.5: Advanced Text Parsing
  122. 9.6: Debugging
  123. 9.7: Dictionaries (Exercises)
  124. 9.8: Dictionaries (Glossary)
  125. 10: Tuples
  126. 10.01: Tuples are Immutable
  127. 10.02: Comparing Tuples
  128. 10.03: Tuple Assignment
  129. 10.04: Dictionaries and Tuples
  130. 10.05: Multiple assignment with dictionaries
  131. 10.06: The most common words
  132. 10.07: Using Tuples as Keys in Dictionaries
  133. 10.08: Sequences: strings, lists, and tuples - Oh My!
  134. 10.09: Debugging
  135. 10.10: Tuples (Exercises)
  136. 10.11: Tuples (Glossary)
  137. 11: Regular Expressions
  138. 11.01: Regular Expressions
  139. 11.02: Character matching in regular expressions
  140. 11.03: Extracting data using regular expressions
  141. 11.04: Combining searching and extracting
  142. 11.05: Escape Character
  143. 11.06: Bonus section for Unix
  144. Linux users
  145. 11.07: Debugging
  146. 11.08: Regular Expressions (Exercises)
  147. 11.09: Regular Expressions (Glossary)
  148. 11.10: Regular Expressions (Summary)
  149. 12: Networked Programs
  150. 12.01: HyperText Transfer Protocol - HTTP
  151. 12.02: The World's Simplest Web Browser
  152. 12.03: Retrieving an image over HTTP
  153. 12.04: Retrieving web pages with urllib
  154. 12.05: Parsing HTML and scraping the web
  155. 12.06: Parsing HTML using regular expressions
  156. 12.07: Parsing HTML using BeautifulSoup
  157. 12.08: Reading binary files using urllib
  158. 12.09: Networked Programs (Exercises)
  159. 12.10: Networked Programs (Glossary)
  160. 13: Python and Web Services
  161. 13.1: eXtensible Markup Language - XML
  162. 13.2: Looping through Nodes
  163. 13.3: JavaScript Object Notation - JSON
  164. 13.4: Parsing JSON
  165. 13.5: Application Programming Interfaces
  166. 13.6: Google geocoding web service
  167. 13.7: Security and API usage
  168. 13.8: Python and Web Services (Exercises)
  169. 13.9: Python and Web Services (Glossary)
  170. 14: Object-Oriented Programming
  171. 14.01: Managing Larger Programs
  172. 14.02: Getting Started
  173. 14.03: Using Objects
  174. 14.04: Starting with Programs
  175. 14.05: Subdividing a Problem - Encapsulation
  176. 14.06: Our First Python Object
  177. 14.07: Classes as Types
  178. 14.08: Many Instances
  179. 14.09: Object Lifecycle
  180. 14.10: Inheritance
  181. 14.11: Object-Oriented Programming (Glossary)
  182. 14.12: Object-Oriented Programming (Summary)
  183. 15: Using Databases and SQL
  184. 15.01: What is a database
  185. 15.02: Database Concepts
  186. 15.03: Database Browser for SQLite
  187. 15.04: Creating a database table
  188. 15.05: Structured Query Language summary
  189. 15.06: Spidering Twitter using a database
  190. 15.07: Basic data modeling
  191. 15.08: Programming with Multiple Tables
  192. 15.09: Constraints in Database Tables
  193. 15.10: Retrieve and
  194. or insert a record
  195. 15.11: Storing the friend relationship
  196. 15.12: Three Kinds of Keys
  197. 15.13: Using JOIN to retrieve data
  198. 15.14: Degugging
  199. 15.15: Using Databases and SQL (Glossary)
  200. 15.16: Using Databases and SQL (Summary)
  201. 16: Visualizing data
  202. 16.1: Building a Google map from geocoded data
  203. 16.2: Visualizing Networks and Interconnections
  204. 16.3: Visualizing mail data