Upload
jesse-mathews
View
214
Download
0
Embed Size (px)
Citation preview
Scripting Languages
GoalsApproachEvaluationIntro to PythonThe two on-line sourcesGetting started with LPTHW
Goals
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
Approach
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
Workload
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 * 12 + 1.5 + 8 * 4 = 66 + 32 = 99.5
+ studying for the (exercises) exam.
Evaluation
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: 3rd, 6th, 9th, 12th 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
Python
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”).
The on-line sources
Essentially replace a “handbook”:
Python CodeCademy https://
www.codecademy.com/tracks/python
Learn Python the hard way http://learnpythonthehardway.org/book/
Provide the backbone (define what is studied)
Boring, but necessary steps …
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!!
CodeCademy
https://www.codecademy.com/tracks/python
Learn Python the Hard Way
http://learnpythonthehardway.org/book/
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).
Assignment for the coming week
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.
Questions?