Drumbeat/p2pu/courses/python-programming

From MozillaWiki
Jump to navigation Jump to search

Course Details

Introductory programming course using the Python programming language.


Facilitator: Brylie Oxley

Prerequisite(s): Intro to personal computers (Linux, Macintosh, Windows).

Motivation:

When one knows how to make simple scripts it is easier to complete repetitious tasks. The more active hackers we have the faster our technology and collective culture will evolve.

Audience

Novice and intermediate computer users, scientists, teachers, and hobbiests can benefit by integrating programming into their workflow.

P2PU Source:

GNU.media research regarding Open Educational Resources and Free Software development.


Repeat: Yes

Status: New


Learning Resources

Several free books are available:

Learning Style

Collaborative and collective knowledge sharing. Project (experience) based learning.

Learning Outcome(s)

Upon completion of the course, learners will have the following abilities and competencies:

  • Source documentation
  • Creating and modifying variables
  • Working with various data types:
    • strings
    • numbers
    • tuples
    • lists
    • sets
    • dictionaries
    • byte arrays (byte objects?)
  • Operators
  • Evaluating expressions and statements
  • Iterating over lists, tuples, &c
  • Indexing and slicing strings, lists, &c
  • String replacement fields
    • Format Specifiers
  • Flow/Decision control
    • Loops
    • Conditional statements
  • Mulitple assignment
  • Defining functions
    • Documentation strings
    • Function parameters
  • Accepting user input
  • General debugging
  • Exception handling
    • Creating custom exceptions
  • Creating classes
    • Class instances
  • Creating and organizing modules
    • Importing modules
  • Introduction to Python standard library
    • os
    • glob
    • sys
    • time
    • unittest (Video)
  • Inheritance
  • Comprehensions
  • Linked lists
  • Abstract Data Types
    • Basic Design Patterns (Video)
  • Metaprogramming