lect01 | Next Lecture |
lect01, Mon 01/07
Introduction and Overview of the Course
Intro to Course Logistics
- Review the syllabus at this link.
Intro to the Unix environment
- Unix file system
- Navigating the file system using Command Line
- Learn a few unix commands: ls, pwd, mkdir, cd, cp, mv
Python REPL (Read Eval Print Loop)
Also called the Python Shell Prompt
Python 3.4.3 (default, Aug 9 2016, 15:36:17)
[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 2 + 3
5
>>> 2 + 7 *4
30
>>> 2 ** 3
8
>>> 2 ** 3 ** 2
512
>>> 2 * 3 * 4
24
>>> (2 * 3) * 4
24
>>> 2 * (3 * 4)
24
>>> (2 ** 3) ** 2
64
>>> 2 ** (3 ** 2)
512
>>>
Note that **
is right associative, not left associative.