-
Notifications
You must be signed in to change notification settings - Fork 1
/
MakerSpacesDemo
70 lines (53 loc) · 2.15 KB
/
MakerSpacesDemo
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
ANCIENT MAKERSPACES DEMO
@author: Anna Conser, Columbia University, anna.conser@gmail.com
@license: MIT
"""
"""
DATABASE OUTLINE FOR REFERENCE
PLAY_LIST_DICT = {'Aeschylus' : [('Persae', 'Aesch-Pers'),
('Septem', 'Aesch-Seven'),
('Suppliants', 'Aesch-Supp'),
('Agamemnon', 'Aesch-Ag'),
('Choephori', 'Aesch-Lib'),
('Eumenides', 'Aesch-Eum'),
('Prometheus', 'Aesch-PB'),
],
'Sophocles' : [('Trachiniae', 'Soph-Trach'),
('Antigone', 'Soph-Ant'),
('Ajax', 'Soph-Ajax'),
('Oedipus Rex', 'Soph-OT'),
('Electra', 'Soph-El'),
('Philoctetes', 'Soph-Phil'),
('Oedipus Coloneus', 'Soph-OC')
],
'Control' : [('Trimeter', 'Soph-Ant-Trimeter'),
('Prose', 'Lysias'),
('Anapests', 'AgAnapests'),
],
'Euripides' : [('Alcestis', 'Eur-Alc'),
('Medea', 'Eur-Med'),
('Hippolytus', 'Eur-Hipp'),
('Andromache', 'Eur-Andr'),
('Hecuba', 'Eur-Hec'),
('Orestes', 'Eur-Orest'),
('Bacchae', 'Eur-Ba'),
],
}
"""
#%% LOAD TEXTS
import Analysis.class_author as CA
A = CA.Author ('Aeschylus')
S = CA.Author ('Sophocles')
E = CA.Author ('Euripides')
#%% DISPLAY STATISTICS FOR AN AUTHOR
A.display()
#%% EXCISE AND DISPLAY A PLAY
Agamemnon = A.plays[3]
Agamemnon.display()
#%% EXCISE AND DISPLAY A STANZA PAIR
Parodos_A = Agamemnon.pairs[0]
Parodos_A.display()
#%%