Skip to content

Commit a52d815

Browse files
author
Sara Rubinow
committed
2 parents 737e04b + fb61913 commit a52d815

27 files changed

+34639
-5
lines changed

.gitIgnore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

PythonForMODS/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#Using lxml and modsqual to parse and assess MODS XML¶
2+
In this tutorial, we will learn the basics of parsing XML with the third-party lxml library and assessing MODS XML metadata with modsqual, a module (in progress!) that simplifies lxml for working with MODS.
3+
4+
We'll be working through the Jupyter notebook included in this directory, lxml_and_modsqual_tutorial.ipynb. If you've already downloaded this repository and you have Jupyter notebook or IPython notebook installed (I recommend the [Anaconda Python](https://www.continuum.io/why-anaconda) distribution) you can open the notebook by opening up a command line/terminal window, navigating to this folder, and entering the command:
5+
```
6+
ipython notebook
7+
```
8+
or
9+
```
10+
jupyter notebook
11+
```
12+
This should launch a new browser window with the folder structure of your current working directory. Click on the tutorial file to open the tutorial in a new tab.
13+
14+
To close out of Jupyter or IPython notebook, enter `Ctrl-C` in the terminal and close your tabs.

0 commit comments

Comments
 (0)