User:Federico
Federico or Poni who likes pigeons and purple and fans of computers and unzipping folders
Federico or Poni who doesn't like capitalism and yellow and labour and php
The Magic First Year
Prototy-ping pong
#1
Since I do not like the first article of italian constitution that says
"Italy is a Democratic Republic, founded on work"[1]
I wanted to detourn the first 12 articles of the constitution, taking contents from Utopia by Thomas Moore and The Anarchist Cookbook.
Here the Speculative Constitution!
import random #otherwise random does not work :)
#first parts of the first 12 articles of the italian constitutes
it_articles = ["\n\nART.1 \nItaly is a Democratic Republic, founded", 'ART.2 \nThe Republic recognises and guarantees', 'ART.3 \nAll citizens have equal social dignity and are','ART.4 \nThe Republic recognises the right of all citizens to','ART.5 \nThe Republic, one and indivisible, recognises and promotes','ART.6 \nThe Republic shall protect','ART.7 \nThe State and the Catholic Church are','ART.8 \nAll religious confessions enjoy','ART.9 \nThe Republic shall promote the development of','ART.10 \nThe Italian legal system conforms to the generally recognised rules of','ART.11 \nItaly rejects war as an instrument of','ART.12 \nThe flag of the Republic is']
with open("Utopia.txt") as utopia: #open the external .txt
contents = utopia.read().replace('\n',' ').replace('\r ', '').replace('-','').replace(' ',' ').strip(' and ')#delete useless breaks
with open("anarchist_cookbook.txt") as cookbook:
contents2 = cookbook.read().replace('\n', ' ').replace('\r', '').strip('1234567890').replace('-','').replace(' ',' ').strip(' and ')
utopia_splitted = contents.split("," or "." or '"' or '; ' or 'and') #splits the texts and makes a list
cookbook_splitted = contents2.split("," or "." or '"' or '; ' or 'and')
export = './export.txt'
with open(export, 'w') as export: #This creates a txt file
for i in range(5): #creates more possibilities, change the value to have more or less results
for x in range(12):
utopia_random = random.choice(utopia_splitted) #it takes a random sentence from the list
cookbook_random = random.choice(cookbook_splitted)
constitute = it_articles[x] #it prints in order the articles
speculative_constitute = constitute + (utopia_random or cookbook_random)
export.write(f"{speculative_constitute}.\n \n") #This prints on txt the results
print(f'''{speculative_constitute}.\n''')
#2
I tried to re/create my favorite twitter bot, il pleut
import random
width = 10
height = 10
drops = [',',' ',' ',' ']
rain = ''
for x in range(width):
for y in range(height):
rain += random.choice(drops)
print(rain)
rain = ''
Issue 13
| The Wiki of the Special Issue 13: Words for the future.
Ground 0: Conflicts & Consens with Eleonor
| Collaboration, Conflict & Consent
Maybe you wanna know what I do
- Here my web, hope to have time to develope my new one
- Here un * salta web, not yet mobile-friendly neither in english but still 😎
- Here my are.na