This course will be an intensive introduction to the Python programming language that is oriented towards language researchers (fieldworkers, linguists, psycholinguists, etc.). It presupposes only basic computer literacy. No previous programming experience is required.
The course will meet 3 times per week for 2 weeks. Each session will last two hours (15.00 to 17.00).
Monday, 24 April: 15.00 - 17.00
Introduction, Programming for Language Research, First Program
Reading: Ch. 2, 3, 4
Wednesday, 26 April: 15.00 - 17.00
Statements, Data Types, Data Structures
Reading: Ch. 5, 6, 7
Friday, 28 April: 15.00 - 17.00
Data Flow, Functions, Errors and Exceptions
Reading: 8, 9, 10
Tuesday, 2 May: 15.00 - 17.00
Input/Output (IO), Strings in Depth, Sample Programs
Reading: Ch. 10, 13
Wednesday, 3 May: 17.00 - 18.30
Object-Oriented Programming, Regular Expressions
Reading: Ch. 14, 15, 16, 17
Thursday, 4 May: 15.00 - 17.00
Modules and Packages
Python for CELEX and Shoebox
Reading: Ch. 12
The main course material will be a textbook under development by Robinson and Baayen, tentativley titled An Introduction to Python Programming for Language Research. Email stuart-AT-zapata-DOT-org if you would like a copy of the textbook and the associated example code.
Information about the course will be posted to the MPI mailing list python. To subscribe, send an email message to majordomo AT mpi DOT nl with no header and only the following as content:
subscribe python
For Python links, go here.