Difference between revisions of "OPS435 Python Weekly Schedule 2020 Winter"

From CDOT Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
! Reading/Reference
 
! Reading/Reference
 
! Tasks/Labs
 
! Tasks/Labs
|- style="vertical-align: top; background: none"
+
|- style="vertical-align: top; background: #ffffe0"
 
| 1: Jan 6-10  
 
| 1: Jan 6-10  
 
| <b>Course Overview</b>
 
| <b>Course Overview</b>
Line 263: Line 263:
 
     <li>Ansible</li>
 
     <li>Ansible</li>
 
</ul>
 
</ul>
| <ul>
+
|  
  <li>Think Python: Chapter 17 - Classes and methods
 
      <ul>
 
          <li>The __init__ method</li>
 
          <li>The __str__ methond</li>
 
          <li>The __repr__ method</li>
 
          <li>Operator overloading</li>
 
          <li>Type-based dispatch</li>
 
          <li>Polymorphism</li>
 
        </ul>
 
    </li>
 
</ul>
 
 
| <ul>
 
| <ul>
 
   <li>[[OPS435_Python3_Lab_8 |Lab 8:<br>Configuration management]]</li>
 
   <li>[[OPS435_Python3_Lab_8 |Lab 8:<br>Configuration management]]</li>
Line 292: Line 281:
 
|- style="vertical-align: top; background: none"
 
|- style="vertical-align: top; background: none"
 
| 12:Mar 30-Apr 3
 
| 12:Mar 30-Apr 3
| <b>Python Networking</b>
+
|  
<ul>
 
  <li>Network Client</li>
 
  <li>Network Server</li>
 
  Asynchronous Python Networking</li>
 
</ul>
 
 
|  
 
|  
 
| <ul>
 
| <ul>

Latest revision as of 20:24, 5 May 2020

OPS435 Weekly Task Update
week Topics Reading/Reference Tasks/Labs
1: Jan 6-10 Course Overview
  • Introduction
  • Why Python?
  • Natural languate & formal language

Python components:

  • keywords
  • symbols
  • modules
  • objects

Python Shell

  • builtin modules
    • builtin functions:
    • help()
    • dir()
    • type()
  • keyword: import
  • Think Python: Chapter 1
    • What is a program?
    • Input, process (sequence, looping, repetition), output
    • complier, interpreter
    • Debugging
  • Automate with Python: Chapter 1 & 2
    • Python Basics
    • Flow Control
2:Jan 13-17 Python Basics:
  • Objects
  • Methods and properties
  • Operators
  • expressions
  • statements
  • Think Python: Chapter 2
    • Variable, expressions and statements
    • Script mode and interactive mode
    • Python math operators and order of operations
    • String operation '+' and '*'
  • Automate with Python: Chapter 3 & 4
    • Functions
    • Lists
3:Jan 20-24 Reusing Python Code:
    Functions
  • keyword: def
  • function parameters
  • return value
  • keyword: None
  • Think Python: Chapter 3 Functions
    • Function calls
    • Adding new functionse
    • Definitions and usess
    • Flow of execution
    • Parameters and arguments
    • Variables and parameters
    • Fruitful functions and void functions
  • Automate with Python: Chapter 5 & 6
    • Dictionaries and structuring data
    • Manipulating Strings
4:Jan 27-31 Basic Data Structures and String Manipulation:
  • Integers
  • Strings
  • Tuples
  • Lists
  • Dictionaries
  • Sets
  • Think Python: Chapter 5 Conditionals and recursion
    • Boolean expression
    • Logical operators
    • Conditional execution
    • Alternative execution
    • Chained conditionals
    • Nested conditionals
    • Recursion
    • Infinite recursion
    • Keyboard Input
  • Automate with Python: Chapter 7 & 8
    • Regular Expressions
    • Reading and Writing Files
5:Feb 3-7 Files, Exceptions:
  • File Handling
  • Error Handling
  • Builtin error types
  • Think Python: Chapter 14 - Files
    • Reading and writing
    • Format operator
    • Filenames and paths
    • Catching exception
    • Databasess
    • Picking
    • Pipes
    • Writing modules
  • Automate with Python: Chapter 9 & 10
    • Organizing Files
    • Debugging
6:Feb 10-14 Review and Catch up
7:Feb 17-21 Mid-Term Test
  • This week.
  • Topics: Lab 1 to Lab 5 and All topics covered from week 1 to week 5
Catch up
Break Week:
Feb 24-28
8:Mar 2-6 Classes:
  • Components of a class
  • Classes and objects
  • Think Python: Chapter 15 - Classes and objects
    • Programmer-defined types
    • Attributes
    • Instances and return values
    • Objects are mutable
    • Copying
  • Think Python: Chapter 16 - Classes and functions
    • Pure functions
    • Modifiers
    • Prototyping versus planning
9:Mar 9-13 Classes:
  • Designing classes
  • Understanding scope
  • Think Python: Chapter 17 - Classes and methods
    • The __init__ method
    • The __str__ methond
    • The __repr__ method
    • Operator overloading
    • Type-based dispatch
    • Polymorphism
10:Mar 16-20 Configuration management:
  • Fabric
  • Ansible
11:Mar 23-27 Python Networking
  • Network Client
  • Network Server
  • Asynchronous Python Networking
12:Mar 30-Apr 3
13:Apr 6-10 Exam Review
Exam Week:
Apr 13-17