Training » All Courses » Python » Intro to Python

Course Summary

Intro to Python course is a gentle introduction to programming in general using Python programming language. It is designed for non-programmers Python is favored by first-time programmers because it presents engineering concepts in straight-forward, clear language, while, quietly and behind-the-scenes, it takes care of the difficult, tedious and error-prone details that present the major obstacles to writing a program in older languages. This is a hands-on training.

Duration

2 days.

Audience

Non-programmers looking to get into programming with Python language.

Additional Notes

About Your Instructor

Marilyn Davis earned a Ph.D. in Radio Astronomy, and M.A. in Applied Physics, from UCSD; and a B.S. and M.S. in Mathematics from Denver University. Computer programming captured her imagination and she has made significant contributions in scientific, statistical, operations research, test-development and groupware applications. Teaching has always been a favorite activity. She has been teaching C Programming at UCSC-Extension for 15 years. When she met Python, for 5 years.

Marilyn specializes in Python training, she has taught Python for Google, Nokia, Cisco, VMware and more. Even the marketing department at Google took a class.

After teaching C for 14 years, Marilyn met Python and immediately recognized this new language as a big boon to software engineering. Engineers typically claim a 9-fold increase in productivity over C/C++ with significant improvements in readability and reliability.

Marilyn's Talk on Why Python

Marilyn's Google Tech Talk

Some Python Integrated Development Environments: Video of Marilyn Davis' discussion on Emacs at the Bay Area Python Interest Group.

About the Platform

This course can be taught on most major operating systems, which support Python, such as Windows, Linux, Mac OS X, etc.

Trademarks

"Python" is a registered trademark of the Python Software Foundation. All other marks are the properties of their respective owners.

Outline

Python Language

  • Hardware and Software
  • Binary Counting
  • Machine Code
  • Compilers and Interpreters
  • Python
  • Writing to stdout: print
  • Literals (Strings) and Numbers
  • Operators: + * =

Input

  • Reading from stdin
  • Reading a string
  • Reading a number
  • Handling errors
  • Modulo operator

Flow

  • if/elif/else
  • while/break/continue/else
  • operators

Functions

  • Functions

Importing

  • import
  • random Module
  • math Module

str and list

  • Strings - str
  • Lists - list

Iterating

  • for and range

Sequences

  • sequences
  • enumerate
  • indexing

Files

  • File I/O

Re-Use

  • Importing Your Own Module

Classes

  • Classes

Inheritance

  • Inheritance