User:Clara: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Exhibition clara space.jpg|frame]]
<br>
[[User:Clara/Workshops|a and a]]


=Main Title=
[[User:Clara/Project|Project]]


==Random definition generator==
[[User:Clara/Thesis|Thesis]]


Working with what we learned with the "house of dust" notebook I created something relevant for me. This was a random definition generator inspired by a publication I made during my internship with with ''Print the future''
[[User:Clara/S15|S15]]


<source lang="python">
[[User:Clara/S14|S14]]


word = ("man", "woman", "human")
[[User:Clara/S13|S13]]
french = ("homme", "femme")
category = ("gender", "sex")
definition = ("defined", "created", "perceived", "judged", "constructed", "characterized")
term = ("masculine", "feminine")
 
import random
 
w = random.choice(word)
f = random.choice(french)
c = random.choice(category)
t = random.choice(term)
 
for x in range (10):
    w = random.choice(word)
    f = random.choice(french)
    c = random.choice(category)
    d = random.choice(definition)
    t = random.choice(term)
    print(f"definition of: {w}, a {t} word")
    print(f"\t      (en francais {f})")
    print(f"\t      One that is {d} by their {c}")
    print()
</source>
 
'''One variation of the print output'''
<pre>
definition of: man, a masculine word
      (en francais homme)
      One that is judged by their sex
 
definition of: human, a feminine word
      (en francais homme)
      One that is characterized by their gender
 
definition of: woman, a masculine word
      (en francais femme)
      One that is characterized by their gender
 
definition of: human, a feminine word
      (en francais homme)
      One that is perceived by their gender
 
definition of: man, a feminine word
      (en francais homme)
      One that is perceived by their sex
 
definition of: woman, a masculine word
      (en francais femme)
      One that is constructed by their gender
 
definition of: man, a feminine word
      (en francais femme)
      One that is created by their gender
 
definition of: woman, a feminine word
      (en francais femme)
      One that is characterized by their sex
 
definition of: woman, a feminine word
      (en francais femme)
      One that is judged by their sex
 
definition of: human, a feminine word
      (en francais homme)
      One that is perceived by their sex
</pre>
 
===Sub-sub Title===
 
===Sub-sub-sub Title===

Latest revision as of 19:20, 10 June 2022