Goals Approach Evaluation Intro to Python The two on-line sources Getting started with LPTHW
Not a course “about” scripting languages. Goal: At the end: you are able to develop “small” programs in Python. Small == 5 lines to 5 pages
NOT by lecturing on Python Active! 4 types of activities: Active preparation (at home) on on-line courses Interaction sessions to discuss problems Exercise sessions with more examples 4 larger practical assignments
5 ECTS course: between 125 and 150 hours Home work: 2h weekly (12 weeks) Interaction session: 1.5h weekly (13 weeks) Exercise sessions: 2h (12 weeks) Project assignments: 8h (4 projects) = 5.5 * * 4 = = 99.5 + studying for the (exercises) exam.
The 4 projects will be part of the evaluation 6 out of 20 points Probably: 1 p., 1.25 p., 1.75 p., 2 p. Timing: 3 rd, 6 th, 9 th, 12 th week Note: could be that some assignments in a project are only introduced the next week. 14 out of 20 points on exercise exam during the examination period
A scripting language = a programming language, but with some preferred features. Interpreted (not compiled) “Light-weight” language Allows rapid development But _very_ extensive language (“has it all”).
Essentially replace a “handbook”: Python CodeCademy Learn Python the hard way Provide the backbone (define what is studied)
Learning a new language: Reading, writing words, phrases, … Repetition, over-and-over, … First few chapters in the on-line sources _will_ demand boring typing and repetition ! You need to do it anyway!!
We need to do exercise 0 now, to see whether everyone has an editor, command tool and python Then we should do a few of the first exercises together, to see whether everyone can use the tools (at least Ex.1 and Ex.2).
From CodeCademy: 1.a Python syntax (11 min.) 1.b Tip calculator (4 minutes) 2.a Strings and console output (15 min.) 2.b Data and time (7 min.) From LPTHW: Ex.3 (10 min), Ex.4 (13 min), Ex. 5 (11 min.), Ex.6 (7 min). Ps: timings are mine – it could take longer.