coding – THATCamp Colorado 2018 http://colorado2018.thatcamp.org Just another THATCamp site Sat, 03 Nov 2018 16:09:16 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.12 Poetry with Python http://colorado2018.thatcamp.org/2018/10/12/poetry-with-python/ http://colorado2018.thatcamp.org/2018/10/12/poetry-with-python/#comments Fri, 12 Oct 2018 02:34:42 +0000 http://colorado2018.thatcamp.org/?p=178

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.

]]>
http://colorado2018.thatcamp.org/2018/10/12/poetry-with-python/feed/ 5