Updating search results...

Search Resources

26 Results

View
Selected filters:
  • Center for History and New Media
The Programming Historian 2: Transliterating non-ASCII characters with Python
Unrestricted Use
CC BY
Rating
0.0 stars

This lesson shows how to use Python to transliterate automatically a list of words from a language with a non-Latin alphabet to a standardized format using the American Standard Code for Information Interchange (ASCII) characters. It builds on readers’ understanding of Python from the lessons “Viewing HTML Files,” “Working with Web Pages,” “From HTML to List of Words (part 1)” and “Intro to Beautiful Soup.” At the end of the lesson, we will use the transliteration dictionary to convert the names from a database of the Russian organization Memorial from Cyrillic into Latin characters. Although the example uses Cyrillic characters, the technique can be reproduced with other alphabets using Unicode.

Subject:
Applied Science
Computer Science
Material Type:
Diagram/Illustration
Provider:
Center for History and New Media
Author:
Seth Bernstein
Date Added:
01/22/2020
The Programming Historian 2: Understanding Regular Expressions
Unrestricted Use
CC BY
Rating
0.0 stars

In this exercise we will use advanced find-and-replace capabilities in a word processing application in order to make use of structure in a brief historical document that is essentially a table in the form of prose. Without using a general programming language, we will gain exposure to some aspects of computational thinking, especially pattern matching, that can be immediately helpful to working historians (and others) using word processors, and can form the basis for subsequent learning with more general programming environments.

Subject:
Applied Science
Computer Science
Material Type:
Diagram/Illustration
Homework/Assignment
Provider:
Center for History and New Media
Author:
Doug Knox
Date Added:
01/22/2020
The Programming Historian 2: Up and Running with Omeka.net
Unrestricted Use
CC BY
Rating
0.0 stars

Omeka is a free content management system that makes it easy to create websites that show off collections of items. As you will learn below, there are actually two versions of Omeka: Omeka.netand Omeka.org. In this lesson you willl be using the former.

Omeka is an ideal solution for historians who want to display collections of documents, archivists who want to organize artifacts into categories, and teachers who want students to learn about the choices involved in assembling historical collections. It is not difficult, but it is helpful to start off with some basic terms and concepts. In this lesson, you will sign up for an account at Omeka.net and start adding digital objects to your site.

Subject:
Applied Science
Computer Science
Material Type:
Diagram/Illustration
Provider:
Center for History and New Media
Author:
Miriam Posner
Date Added:
01/22/2020
The Programming Historian 2: Viewing HTML Files
Unrestricted Use
CC BY
Rating
0.0 stars

When you are working with online sources, much of the time you will be using files that have been marked up with HTML (Hyper Text Markup Language). Your browser already knows how to interpret HTML, which is handy for human readers. Most browsers also let you see the HTML source code for any page that you visit. The two images below show a typical web page (from the Old Bailey Online) and the HTML source used to generate that page, which you can see with the Tools -> Web Developer -> Page Source command in Firefox.

Subject:
Arts and Humanities
History
Material Type:
Diagram/Illustration
Provider:
Center for History and New Media
Author:
Adam Crymble
William J. Turkel
Date Added:
01/22/2020
The Programming Historian 2: Working With Web Pages
Unrestricted Use
CC BY
Rating
0.0 stars

This lesson introduces Uniform Resource Locators (URLs) and explains how to use Python to download and save the contents of a web page to your local hard drive.

Subject:
Applied Science
Computer Science
Material Type:
Diagram/Illustration
Provider:
Center for History and New Media
Author:
William J. Turkel and Adam Crymble
Date Added:
01/22/2020
The Programming Historian 2: Working with Text Files
Unrestricted Use
CC BY
Rating
0.0 stars

In this lesson you will learn how to manipulate text files using Python. This includes opening, closing, reading from, and writing to .txt files.

The next few lessons will involve downloading a web page from the Internet and reorganizing the contents into useful chunks of information. You will be doing most of your work using Python code written and executed in Komodo Edit.

Subject:
Applied Science
Computer Science
Material Type:
Diagram/Illustration
Provider:
Center for History and New Media
Author:
William J. Turkel and Adam Crymble
Date Added:
01/22/2020