Poetry with Python

example of a Python for loopTo paraphrase Shakespeare in the digital age, a for loop in any other language would iterate as well. From the perspective of Distant Reading (Moretti), today’s digitally literate scholars and students need to be able to understand some basic coding (indeed, what is a for loop, anyway??). Python is a great place to start! This session will look at one example of writing and applying a Python script to a text file to highlight and track references to targeted key words (perhaps, “rose” and “sweet”). We can then graph these keywords using some of Python’s libraries. The coding will be very basic, but the insights will hopefully prove very valuable.

5 Responses to Poetry with Python

  1. Is this still a class I can take? I have been studying Python since the Summer, and would like to expand my knowledge! I am interested in any coding and Python-based classes.

Leave a Reply

Your email address will not be published. Required fields are marked *