forked from rsdoiel/archivesspace-api-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path16-ArchivesSpace-API-Workshop.html
More file actions
32 lines (26 loc) · 980 Bytes
/
16-ArchivesSpace-API-Workshop.html
File metadata and controls
32 lines (26 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<link href="css/slides.css" rel="stylesheet" />
</head>
<body>
<nav>
<a id="start-slide" rel="nav" href="00-ArchivesSpace-API-Workshop.html" title="Return to start of presentation">Start</a>
<a id="prev-slide" rel="nav" href="15-ArchivesSpace-API-Workshop.html" title="Previous slide">Prev</a>
<a id="next-slide" rel="nav" href="17-ArchivesSpace-API-Workshop.html" title="Next slide">Next</a>
</nav>
<section><h1>2. Make an http connection</h1>
<h2>import modules</h2>
<p>Once <strong>idle</strong> starts it’ll launch a Python Shell (also known as a Repl).</p>
<p>Type the following in the shell.</p>
<pre><code class="language-python"> import urllib.request
import urllib.parse
import urllib.error
import json
import getpass
</code></pre>
<p>These are the three modules we’ll use throughout our Workshop.</p>
</section>
<script type="text/javascript" src="js/keyboard-nav.js"></script>
</body>
</html>