Skip to content

DC Session 4 Python

Gabriel Bodard edited this page Jan 22, 2020 · 24 revisions

Sunoikisis Digital Classics, Spring 2020

Session 4. Introduction to programming with Python

Thursday Feb 6, 16:00 UK = 17:00 CET

Convenors: Paula Granados García (Open University), Matteo Romanello (Lausanne)

YouTube link: https://youtu.be/JDxRd-RYkXA

Presentation (Jupyter notebook): tba

Session outline

  • This session will begin with a general discussion of programming for the humanities, and then an introduction to the Python programming language. We will then introduce two key Python libraries (collections of code that enhance Python funtionality for specific purposes): Pandas (for structuring and analysing data), and Beautiful Soup (for parsing HTML and XML). These skills will then be illustrated with specific examples and exercises, all of which are illustrated for your use and adaptation in the Jupyter notebook linked from this session page.

Seminar readings

  • tba (two open access articles/chapters please)

Further reading

Python Resources

Exercise

  • To set up your own Jupyter Notebook environment:
    • Install Jupyter on your desktop (easiest as part of the Anaconda package) (getting started with Jupyter)
    • Set up a Microsoft Azure Notebooks instance online (if you have 365 account)
    • Set up a Google Colab notebooks instance online (if you have Gmail account) (getting started with Colab)
  • tba