ES 204: Numerical Methods in Engineering

OVERVIEW

This is the homepage of ES 204 WZZQ this First Semester AY 2019-2020.

ANNOUNCEMENTS

8 August

The slide decks I have used in my Intro to Python sessions can be viewed here.

ACTIVITIES

SCHEDULE OF LONG EXAMS

HELPFUL PYTHON RESOURCES

Documentation

Official Python 3 Documentation

Python 3 Standard Library

https://docs.python.org/3/library/

Textbooks/Tutorials

Dive into Python: survey of Python syntax, datatypes, etc.

Think Python by Allen Downey: a good general overview of the Python language. Includes exercises.

The Official Python Tutorial: self-explanatory

Learn Python The Hard Way: (note: for Python 2) another free online text

Reserved keywords in Python: don't use these as variable names

PEP 8: learn what is good and bad style in writing Python code

Python Tutor: interactive tutorial sequence of exercises

Debugging

Python Tutor: an excellent way to actually visualize how the interpreter actually reads and executes your code

DiffChecker: compares two sets of text and shows you which lines are different

Debugging in Python: steps you can take to try to debug your program

Q&A

Stack Overflow: a large Q&A forum for programming concepts

PYTHON INSTALLATION

The latest version is Python 3.7.4. For consistency, install Python 3.7.4 on your own machine for your practice coding.

Windows

Python 3.7 32-bit installer

Python 3.7 64-bit installer

Windows command line guide (cmd)

Note: As it is asked in class, there are no student using machines with different OS than Windows, so installation instructions for other OS are omitted.