Различия между версиями 1 и 3 (по 2 версиям)
Версия 1 от 2018-07-22 13:17:55
Размер: 5070
Редактор: FrBrGeorge
Комментарий:
Версия 3 от 2018-07-22 13:23:34
Размер: 5132
Редактор: FrBrGeorge
Комментарий:
Удаления помечены так. Добавления помечены так.
Строка 6: Строка 6:
Задача: упихать в 15 лекций масимум

Введение в ЯП Python3

Проект курса на основе учебника Think Python: How to Think Like a Computer Scientist


Задача: упихать в 15 лекций масимум

  1. The way of the program
    • What is a program?
    • Running Python
    • The first program
    • Arithmetic operators
    • Values and types
    • Formal and natural languages
    • Debugging
    • Glossary
    • Exercises
  2. Variables, expressions and statements
    • Assignment statements
    • Variable names
    • Expressions and statements
    • Script mode
    • Order of operations
    • String operations
    • Comments
    • Debugging
    • Glossary
    • Exercises
  3. Functions
    • Function calls
    • Math functions
    • Composition
    • Adding new functions
    • Definitions and uses
    • Flow of execution
    • Parameters and arguments
    • Variables and parameters are local
    • Stack diagrams
    • Fruitful functions and void functions
    • Why functions?
    • Debugging
    • Glossary
    • Exercises
  4. Case study: interface design
    • The turtle module
    • Simple repetition
    • Exercises
    • Encapsulation
    • Generalization
    • Interface design
    • Refactoring
    • A development plan
    • docstring
    • Debugging
    • Glossary
    • Exercises
  5. Conditionals and recursion
    • Floor division and modulus
    • Boolean expressions
    • Logical operators
    • Conditional execution
    • Alternative execution
    • Chained conditionals
    • Nested conditionals
    • Recursion
    • Stack diagrams for recursive functions
    • Infinite recursion
    • Keyboard input
    • Debugging
    • Glossary
    • Exercises
  6. Fruitful functions
    • Return values
    • Incremental development
    • Composition
    • Boolean functions
    • More recursion
    • Leap of faith
    • One more example
    • Checking types
    • Debugging
    • Glossary
    • Exercises
  7. Iteration
    • Reassignment
    • Updating variables
    • The while statement
    • break
    • Square roots
    • Algorithms
    • Debugging
    • Glossary
    • Exercises
  8. Strings
    • A string is a sequence
    • len
    • Traversal with a for loop
    • String slices
    • Strings are immutable
    • Searching
    • Looping and counting
    • String methods
    • The in operator
    • String comparison
    • Debugging
    • Glossary
    • Exercises
  9. Case study: word play
    • Reading word lists
    • Exercises
    • Search
    • Looping with indices
    • Debugging
    • Glossary
    • Exercises
  10. Lists
    • A list is a sequence
    • Lists are mutable
    • Traversing a list
    • List operations
    • List slices
    • List methods
    • Map, filter and reduce
    • Deleting elements
    • Lists and strings
    • Objects and values
    • Aliasing
    • List arguments
    • Debugging
    • Glossary
    • Exercises
  11. Dictionaries
    • A dictionary is a mapping
    • Dictionary as a collection of counters
    • Looping and dictionaries
    • Reverse lookup
    • Dictionaries and lists
    • Memos
    • Global variables
    • Debugging
    • Glossary
    • Exercises
  12. Tuples
    • Tuples are immutable
    • Tuple assignment
    • Tuples as return values
    • Variable-length argument tuples
    • Lists and tuples
    • Dictionaries and tuples
    • Sequences of sequences
    • Debugging
    • Glossary
    • Exercises
  13. Case study: data structure selection
    • Word frequency analysis
    • Random numbers
    • Word histogram
    • Most common words
    • Optional parameters
    • Dictionary subtraction
    • Random words
    • Markov analysis
    • Data structures
    • Debugging
    • Glossary
    • Exercises
  14. Files
    • Persistence
    • Reading and writing
    • Format operator
    • Filenames and paths
    • Catching exceptions
    • Databases
    • Pickling
    • Pipes
    • Writing modules
    • Debugging
    • Glossary
    • Exercises
  15. Classes and objects
    • Programmer-defined types
    • Attributes
    • Rectangles
    • Instances as return values
    • Objects are mutable
    • Copying
    • Debugging
    • Glossary
    • Exercises
  16. Classes and functions
    • Time
    • Pure functions
    • Modifiers
    • Prototyping versus planning
    • Debugging
    • Glossary
    • Exercises
  17. Classes and methods
    • Object-oriented features
    • Printing objects
    • Another example
    • A more complicated example
    • The init method
    • The str method

    • Operator overloading
    • Type-based dispatch
    • Polymorphism
    • Debugging
    • Interface and implementation
    • Glossary
    • Exercises
  18. Inheritance
    • Card objects
    • Class attributes
    • Comparing cards
    • Decks
    • Printing the deck
    • Add, remove, shuffle and sort
    • Inheritance
    • Class diagrams
    • Debugging
    • Data encapsulation
    • Glossary
    • Exercises
  19. The Goodies
    • Conditional expressions
    • List comprehensions
    • Generator expressions
    • any and all
    • Sets
    • Counters
    • defaultdict
    • Named tuples
    • Gathering keyword args
    • Glossary
    • Exercises
  20. Debugging
    • Syntax errors
    • Runtime errors
    • Semantic errors

LecturesCMC/PythonIntro2018 (последним исправлял пользователь FrBrGeorge 2019-01-15 12:47:35)