Skip to main content

Introduction to Python for Humanities and Social Sciences

HumanitiesHumanities
Credits3
·
Semester offeredSemester 1 (Fall)
·
Last updated5 months ago

Description

During this course, you will learn how to analyze text data using the Python programming language. No programming knowledge is required; we believe that anyone can learn how to program. You will learn how to extract information from text corpora; deal with different file types (plain text, CSV, JSON). We will focus on readability and understandability of your code so that you will be able to share it with others, and reuse your code in the future. Course Objective: This course is meant to introduce you to the basics of the Python programming language. There is a lot to discover about Python and programming in general, and you will probably learn something new every day if you continue programming after this course. In the master-level version of the course, our goal for you is to become an independent programmer who is able to find solutions to new problems. Knowledge and comprehension : in the first half of the course, you will: Become familiar with the basics of python syntax and the basic data types in python Learn how to use basic python tools to work with and manipulate the basic data types in the Python Standard Library Application : In the second half of the course, you will: Learn how to apply your knowledge to deal with different file types (e.g., plain text, CSV/TSV, JSON) Learn how to use external libraries for text analysis Learn how to explain your code and results to others by documenting it so it can be shared Analysis : Throughout the entire course, you will develop the following skills: Learn how to analyze (and debug) your own code and other people’s code Learn how to divide a problem into small and manageable sub-problems Learn how to structure your code around small, self-contained, and understandable modules Synthesis : At the end of the course, you will: Be able to follow a suggested structure to work on small programming projects Be ready to learn how to work with new libraries we have not covered in the course Be able to continue to develop as a programmer in an independent and self-guided manner We will focus on readability and understandability so that you will be able to share your code and results with others, and re-use your code in the future. This is a practical course, in which you will get a lot of hands-on experience. Due to the nature of this course, active participation is required. Assessment Information: Assessment has three components: Mid-term Exam (25%): This exam tests basic concepts concepts in blocks 1 and 2. These concepts are the foundation of blocks 3 and 4. To pass this course, you need a passing grade (at least 5.5). Auto-graded Assignments (pass/fail): three assignments that will be auto-graded using CodeGrade. To pass this course, student must pass all three assignments. The assignments are designed to practice your programming and problem-solving skills. Moreover, they allow us to keep track of your progress, and identify topics that require more attention in class. One graded individual assignments (25%): This is an advanced assignment that tests the course content comprehensively. To pass this course, each assignments needs a passing grade (at least 5.5). Final exam (50%): The final exam is designed to test your knowledge of Python. To pass this course, you need a passing grade (at least 5.5). Teaching Methods: The course is organized in blocks. Blocks typically follow this routine: - Lecture 1: introduction of concepts in the form of an (interactive) lecture. Students are expected to have worked through preparatory exercises and ask questions in class. - Lecture 2: The lecturer focuses on dedicating time to more difficult concepts from the block. If there is enough time, students can already start working on the assignment. Students will have the opportunity to ask for help and clarification. The deadline for an assignment is typically soon after this lecture. - Lecture 3: this lecture is a feedback session. The lecturer provides general feedback about the submitted assignments.

Course outline
Checking availability…