Programming for Social Scientists
POL 42340 Programming for Social Scientists
Friday, 1--3 pm, B108 Newman Building; continuously on Slack
Overview of all the main Python code you will learn during this course: Python commands
1 | 27/1 | Introduction: Programming and simulations | slides | lab | Videos: what is programming? | using git Software (optional): Python | Visual Studio Code | git |
2 | 3/2 | Variables and functions | slides | lab | Videos: variables and functions | random numbers |
3 | 10/2 | Conditionals and flow | slides | lab | Videos: conditional expressions |
4 | 17/2 | Loops and lists | slides | lab | Videos: lists | dictionaries | loops |
5 | 24/2 | Working with text | slides | lab | Videos: strings and user input External links: string functions | formatters |
6 | 3/3 | Types, classes, and object-oriented programming | slides | lab | Videos: object-oriented programming |
7 | 10/3 | (continued) | |||
8 | 31/3 | Files, input and output | slides | lab | Videos: working with files |
9 | 14/4 | (continued) | lab | ||
10 | 21/4 | Testing, debugging, and exception handling | slides | (continued) | Videos: exceptions |
11 | 28/4 | (continued) | lab |