User:Clara: Difference between revisions

From XPUB & Lens-Based wiki
Line 2: Line 2:
=Main Title=
=Main Title=


==<style="color:black; font-family: monospace; font-size: 18px>Random definition generator</style>==
==Random definition generator==


<p style="color:black; font-family: monospace; font-size: 14px>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''</p>
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''


<source lang="python">
<source lang="python">
Line 34: Line 34:
</source>
</source>


<p style="color:black; font-family: monospace; font-size: 14px>'''''One variation of the output'''''<br>
'''''One variation of the output'''''
<br>
<br>
definition of: man, a masculine word<br>
definition of: man, a masculine word
::(en francais homme)
::(en francais homme)
::One that is judged by their sex
::One that is judged by their sex
 
<br>
definition of: human, a feminine word
definition of: human, a feminine word
      (en francais homme)
      (en francais homme)
      One that is characterized by their gender<br>
      One that is characterized by their gender
 
<br>
definition of: woman, a masculine word
definition of: woman, a masculine word
      (en francais femme)
::(en francais femme)
      One that is characterized by their gender<br>
::One that is characterized by their gender
 
<br>
definition of: human, a feminine word
definition of: human, a feminine word
      (en francais homme)
::(en francais homme)
      One that is perceived by their gender<br>
::One that is perceived by their gender
 
<br>
definition of: man, a feminine word
definition of: man, a feminine word
      (en francais homme)
::(en francais homme)
      One that is perceived by their sex<br>
::One that is perceived by their sex
 
<br>
definition of: woman, a masculine word
definition of: woman, a masculine word
      (en francais femme)
::(en francais femme)
      One that is constructed by their gender<br>
::One that is constructed by their gender
 
<br>
definition of: man, a feminine word
definition of: man, a feminine word
      (en francais femme)
::(en francais femme)
      One that is created by their gender<br>
::One that is created by their gender
 
<br>
definition of: woman, a feminine word
definition of: woman, a feminine word
      (en francais femme)
::(en francais femme)
      One that is characterized by their sex<br>
::One that is characterized by their sex
 
<br>
definition of: woman, a feminine word
definition of: woman, a feminine word
      (en francais femme)
::(en francais femme)
      One that is judged by their sex<br>
::One that is judged by their sex
 
<br>
definition of: human, a feminine word
definition of: human, a feminine word
      (en francais homme)
::(en francais homme)
      One that is perceived by their sex<br>
::One that is perceived by their sex
</p>
</p>
===Sub-sub Title===
===Sub-sub Title===


===Sub-sub-sub Title===
===Sub-sub-sub Title===

Revision as of 14:38, 5 December 2020

Main Title

Random definition generator

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

word = ("man", "woman", "human")
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()

One variation of the output
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

Sub-sub Title

Sub-sub-sub Title