Introductory programming course using the Python programming language. The course will encourage learners to explore fundamental concepts of programming such as data types (strings, integers, floats, &c), lists, tuples, loops, control structures, functions, and more.
Prerequisite(s): Intro to personal computers (Linux, Macintosh, Windows).
Users will need to be comfortable downloading and installing software on their chosen Operating System. Many Unix (including Mac) and Linux distributions already include Python.
Students, teachers, scientists, and people in many walks of life can benefit from knowledge of a programming language. Learning to program offers greater insight into formal logic and the principles of computation. It is easier to complete repetitious tasks when one knows how to make simple scripts. The more active hackers we have the faster our technology and collective culture will evolve.
Novice and intermediate computer users, scientists, teachers, artists, and students.
Several free books are available:
- Python for Informatics
- Invent with Python
- A Byte of Python
- Dive Into Python 3
- How to Think Like a Computer Scientist.
Collaborative and collective knowledge sharing. Project (experience) based learning.
Upon completion of the course, learners will be familiar with the following:
- Writing Specifications (Program, Inputs, Output, Relationship)
Source & documentation
Anatomy of a script
- Initial comment
- Envoking main()
- importing a script
Creating and modifying variables
- Simple assignment (<var> = <expr>) (sticky note on memory location)
- Simultaneous assignment (<var>, <var> = <expr>, <expr>)
Working with various data types:
- Evaluating expressions and statements
Iterating over lists, tuples, &c
- Counted loop (for <var> in <list>:)
- Indexing and slicing strings, lists, &c (<list>[index])
String replacement fields (PyDocs)
- Format Specifiers
- Counted loop (for <var> in <seq>:)
- if, elif, else
- Documentation strings
- Function parameters
- Accepting user input
- Syntax errors
- Semantic errors
- Creating custom exceptions
- Class instances
Creating and organizing modules
- Importing modules
Introduction to Python standard library
- unittest (Video)
- Linked lists
Abstract Data Types
- Basic Design Patterns (Video)
GNU.media research regarding Open Educational Resources and Free Software development.This course was inspired by personal/professional research in the realm of Open Educational Resources, such as those available in the MIT Open Courseware and other university courses.