12019-05-16T15:36:48-07:00Intro to Python17Thursday Morning Session, 90 minutesplain2019-05-30T04:16:46-07:00
Lesson Overview
Python is a general-purpose programming language that is suitable for a wide variety of core tasks in the digital humanities. Learning the fundamentals of Python is a gateway to analyzing data, creating visualizations, composing interactive websites, scraping the internet, and engaging in distant reading of texts. This session will introduce participants to writing code in Python using Jupyter Notebooks, an open source web application used to create and share documents that contain live code, equations, visualizations, and text. We will begin with a basic overview of programming languages in general, talk about Python and its use in digital humanities, and look at the following two examples of humanities projects using Python: Ritvik Kharkar's "Making 3 Easy Maps with Python" and Nick Monfort's "Taroko Gorge" poem. *NOTE: Also view Ritvik Kharkar's "Quick and Dirty Data Gathering with Python" to learn more about Kharkar's data gathering technique for the above three maps.
We will then get into an overview of Anaconda Navigator and Jupyter Notebooks, followed by hands-on exercises of coding in Python. The goal for this intro session is to learn the basic Python commands that could then be used and applied to participants' own future research and projects.
By the end of this session, participants will know fundamental Python commands and have an understanding of how Python can be used in digital humanities research.
Download Requirement
Anaconda Distribution 3.7: https://www.anaconda.com/distribution/ (make sure to install the proper version for your operating system, i.e. Windows or MacOS)
Resources for Keywords, Functions, Types, and Statements in Python