0% found this document useful (0 votes)
24 views10 pages

Organization

This document outlines the organization of a course on programming with Python. The course will cover Python syntax and basic usage through lectures and exercise sessions. Topics will include interpreters, scripts, control flow, functions, modules, NumPy, and Matplotlib. Students are instructed on how to install Python, Visual Studio Code, pip, NumPy, and Matplotlib for the course.

Uploaded by

Richard Salnikov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views10 pages

Organization

This document outlines the organization of a course on programming with Python. The course will cover Python syntax and basic usage through lectures and exercise sessions. Topics will include interpreters, scripts, control flow, functions, modules, NumPy, and Matplotlib. Students are instructed on how to install Python, Visual Studio Code, pip, NumPy, and Matplotlib for the course.

Uploaded by

Richard Salnikov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MAT101 – Programming with Python

Gauthier Wissocqa
HS 2023
Universität Zurich

a
[email protected]
Course organization

Aim of the course


• Learn how to program1 (to design an algorithm and
implement it)
• Be fluent in the syntax and in the basic usage of Python
• Write your own scripts and functions

Organization
• Lectures are held onsite in Y27H12
• Time: Monday 08.00-09.45
• Video stream: https://seminarlive.mnf.uzh.ch/
semlive/module?module=MAT101&semester=hs23
1
You will learn here general skills not restricted to the context of Python.
1
Course organization

Exercise sessions
• TAs: Sara Aliqolizadehsafari, Jakob Oldenburg (Ge), Mark
Woolley (Ge)
• Sessions are given
Tuesday 08:00-09:45 in Y27-H46 (Mark)
Thursday 08:00-09:45 in Y27-H28 (from 28th Sept.) (Sara)
Friday 15:00-17:00 in Y27-H46 (Jakob).

Worksheets
• A worksheet will be available weekly (generally every Monday
evening) on http://www.math.uzh.ch/mat101
• End due date: next Monday, 22:00.
• The first worksheet (worksheet 0) will not be graded. It will
be dedicated to help you set up your Python environment. 2
Course organization

Exam
• Programming exam, similar to the discussed exercises
• 50% of the total points in the exercise sheets is needed to
take the final exam
Course material
• Slides, example files:
Course web page

• Python Tutorial, Guido van Rossum and the Python


development team:
https://docs.python.org/3/tutorial/
https://bugs.python.org/file47781/Tutorial EDIT.pdf
NB: Only for the syntax
3
Course organization

Covered topics

S1 Interpreter S6 Numpy
Basic operations
S7 Matplotlib
S2 Scripts
Basic data types S8 Advanced data types
tuples, dictionaries, classes
S3 Control flow
If, for, while S9 Input/Output
S4 Functions S10 Extra stuff,
S5 Modules and Packages coding sessions, mock exam

4
Course organization

Lecture workflow
1. A theoretical notion is introduced
2. Related Python commands are presented
3. Examples are given

→ Try yourself the content of any such blue boxes,


lessons are interactive
→ ”The best (only) way to learn a language is to use it”,
to learn=to use
→ Be curious and try to play with Python. ( Google if you need
some special command ;) )

Pay a special attention when you see the symbol . It points


out a practical information that will make your coding habits 5
Course organization

Installing Python

• Download and install the latest version of Python3 (3.11.5)


from the Python official website:
https://www.python.org/downloads/

Installing Visual Studio Code2

• Download and install Visual Studio Code from the Visual


Studio Code official website:
https://code.visualstudio.com/
• Open it and download the extension Python Intellisense
2
NB: You are free to use any other IDE or to run Python scripts from shell but
Visual Studio Code will be the one adopted in the lessons.
6
Course organization

Installing pip3

• Install pip
https://pip.pypa.io/en/stable/installation/

Installing Numpy

• Install Numpy
https://numpy.org/install/

Installing Matplotlib

• Install Matplotlib
https://matplotlib.org/stable/users/installing/index.html
3
pip is a Python package used to install and manage other Python packages.
You can install Numpy and Matplotlib through pip.
7
Course organization

NB: Both, Python and Visual Studio Code, are already present in
Thinlinc which you can access with your math account credentials
https://www.math.uzh.ch/li/index.php?id=thinlinc

For technical problems

• IT Support group UZH


https://www.math.uzh.ch/index.php?id=support

8
Thank you and enjoy
programming!

You might also like