Python Essential Training

Python Essential Training

Due to its power and simplicity, Python has become the scripting language of choice for many large organizations, including Google, Yahoo, and IBM. A thorough understanding of Python 3, the latest version, will help you write more efficient and effective scripts. In this course, Bill Weinman demonstrates how to use Python 3 to create well-designed scripts and maintain existing projects. This course covers the basics of the language syntax and usage, as well as advanced features such as objects, generators, and exceptions. Learn how types and values are related to objects; how to use control statements, loops, and functions; and how to work with generators and decorators. Bill also introduces the Python module system and shows examples of Python scripting at work in a real-world application.

Topics include:

  • Python anatomy
  • Types and values
  • Conditionals and operators
  • Building loops
  • Defining functions
  • Python data structures: lists, tuples, sets, and more
  • Creating classes
  • Handling exceptions
  • Working with strings
  • File input/output (I/O)
  • Creating modules
  • Integrating a database with Python db-api

课程信息

  • 英文名称:Python Essential Training
  • 时长:4小时51分
  • 字幕:英语

课程目录

  1. Welcome
  2. Exercise files
  3. About Python 3
  4. Installing Python and Komodo on Windows
  5. About the overview
  6. Hello world
  7. Python anatomy
  8. Expressions and statements
  9. Whitespace and comments
  10. Using print()
  11. Blocks and scope
  12. Conditionals
  13. Loops
  14. Functions
  15. Objects
  16. Overview of types and values
  17. The string type
  18. Numeric types
  19. The bool type
  20. Sequence types
  21. type() and id()
  22. Conditional syntax
  23. Conditional operators
  24. Conditional assignment
  25. Arithmetic operators
  26. Bitwise operators
  27. Comparison operators
  28. Boolean operators
  29. Operator precedence
  30. Python loops
  31. The while loop
  32. The for loop
  33. Additional controls
  34. Defining a function
  35. Function arguments
  36. Argument lists
  37. Keyword arguments
  38. Return values
  39. Generators
  40. Decorators
  41. Basic data structures
  42. Lists and tuples
  43. Dictionaries
  44. Sets
  45. List comprehension
  46. Mixed structures
  47. Creating a class
  48. Constructing an object
  49. Class methods
  50. Object data
  51. Inheritance
  52. Iterator objects
  53. Handling exceptions
  54. Reporting errors
  55. Overview of string objects
  56. Common string methods
  57. Formatting strings
  58. Splitting and joining
  59. Opening files
  60. Text vs. binary mode
  61. Text files
  62. Binary files
  63. Numeric functions
  64. String functions
  65. Container functions
  66. Object and class functions
  67. Using standard modules
  68. Creating a module
  69. Python database API
  70. A database interface
  71. Example: Short URL database
  72. Wrap up

评论