Scripting Languages (B-KUL-H0P66A)
Aims
This course aims to familiarize students with the basic principles of programming by introducing them to a contemporary scripting language, viz. Python. Students are introduced to the basic concepts of a programming language and learn how the language can be used to build more complex applications, with a particular focus on digital humanities. Specific attention is given to the development of abstraction and algorithmic thinking. At the end of the course, students will have acquired the basic methodological skills necessary for the computational exploration of digital humanities research questions within their own research.
Identical courses
This course is identical to the following courses:
G0W95B : Scripting Languages
Is included in these courses of study
- Master of Artificial Intelligence (Leuven) (Specialisation: Speech and Language Technology (SLT)) 60 ects.
- Master of Statistics and Data Science (on campus) (Leuven) (Statistics and Data Science for Business) 120 ects.
- Master of Statistics and Data Science (on campus) (Leuven) (Statistics and Data Science for Social, Behavioral and Educational Sciences) 120 ects.
Activities
2 ects. Scripting Languages: Lecture (B-KUL-H0P66a)
Content
The course covers the following topics:
- Basic concepts of programming: In this part, the different building blocks of programming are introduced using the Python programming language. The topics covered include data types, data structures, variables, conditions, functions, and import and export of data.
- Regular Expressions: This part goes into detail on describing patterns for recognising and searching text by means of regular expressions. Specific attention is given to the use of regular expressions within Python scripts.
- Object Oriented Programming: This part discusses the basics of object oriented programming, a programming paradigm used to structure programs in a clear and reusable way. Some more advanced programming concepts, such as errors and exception management, are also covered.
- Digital humanities applications: in the last part, a number of applications within the field of digital humanities are explored. Some existing Python libraries are examined that facilitate data processing. Data visualisation, internet data manipulation, and manipulation of image data are among the subjects covered.
Course material
Course material in the form of lecture slides, and interactive programming exercises in the form of Jupyter notebooks
0.5 ects. Scripting Languages: Exercises (B-KUL-H0P67a)
Content
Programming exercises on the topics covered in the course
Course material
Electronic handouts in the form of Jupyter notebooks
1.5 ects. Scripting Languages: Projects (B-KUL-H0P68a)
Content
Practical assignments on the topics of the course
Course material
Electronic handouts in the form of Jupyter notebooks
Evaluation
Evaluation: Scripting Languages (B-KUL-H2P66a)
Explanation
Evaluation is based on a number of assignments during the semester, and on an exercise exam at the end of the course.
Information about retaking exams
Assignments cannot be redone, only the exercise exam can be redone.