Skip to content

andreasvc/codingforhumanities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding for Humanities course materials

These are materials for the course Coding for Humanities taught at the University of Groningen. The 7-week course introduces Digital Humanities graduate students to Python programming without assuming any technical background. The course covers applications of text mining and exploratory data analysis. The programming skills involve both the fundamentals of Python as well as the use of common data science libraries (NLTK, Pandas, Seaborn). Everything is done in Jupyter Notebooks, easily installed as part of the Anaconda Distribution. Use of the command line is not needed.

This course was developed by Andreas van Cranenburgh and Leonie Bosveld-de Smet.

PDF versions of the slides

https://github.com/andreasvc/codingforhumanities/releases

Sources and inspiration

Installation instructions

These instructions are suitable if you have never installed Jupyter Notebooks or Python on your own computer before.

Install Jupyter Notebooks and Python with Anaconda

Install Anaconda (Python 3.8).

Pick the version appropriate for your operating system (Windows, Mac, Linux). Make sure you choose 'Python 3.8' (not 'Python 2.7'). Choose the "64-bit graphical installer".

Once it has installed, open Anaconda Navigator.

Download the Notebooks from GitHub

Download one of the notebooks from the course website. Save it to a directory where you will keep your work for this course.

Quick Start: Run a Notebook Quickly in the Default (root) Environment

In simple terms, an environment is like an isolated box in which to run a notebook safe from interference by other notebooks. Anaconda provides one default environment, called 'root', in which to get up and running quickly.

In Anaconda Navigator > Home there is a card for Jupyter Notebook (not JupyterLab). Click on the 'Launch' button.

This opens a web page at http://localhost:8888/tree that shows your whole file system.

Navigate to where you downloaded the notebooks, and click on one to run it in the usual way.

Credit: these instructions are based on https://github.com/mchesterkadwell/intro-to-text-mining-with-python

About

Coding for Humanities course materials

Resources

Stars

Watchers

Forks

Packages

No packages published