EMAT10006: Further Computer Programming

Outline

The idea

Weekly Schedule

Unit schedule

WeekTypeActivityTopic
13TermWelcomeTerminals
14TermworksheetGit and github
15Termworksheet
16Termworksheet
17Termworksheet
18Consolidation-
19Termworksheet
20TermAssignment released
21TermGroup meetings
22TermGroup meetings
E1Easter-
E2Easter-
E3Easter-
23TermDEADLINE
24TermNo class

Assessment

Why Python?

Family tree (source)

How Python?

Year reps?

Terminal

Quick demo...

Understand the $ convention for input/output. This you should type in the terminal:

$ ls
myscript.py
$ python myscript.py
stuff

These are Python commands (note >>>) and you should type them into python:

>>> x = 1 + 1
>>> x
2

Terminal

Learning terminal and CLI is not optional here!

Command line

Terminal

Longer demo...

Build Python

$ wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
$ tar -xzf Python-3.8.1.tgz
$ cd Python-3.8.1
$ ./configure
$ make
$ make install

Github

We'll talk about this more later but here's CPython:

https://github.com/python/cpython

That's all

Make sure to meet your TA on Friday!