You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 KiB

In [289]:
import random

width = 82 #canvas measures
height = 74
In [290]:
sentence = '🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec) NotebookApp.rate_limit_window=3.0 (secs)'
sentence = sentence.replace('secs','sex🍬').replace('0', '😡') #replace stuff with funny stuff
lines = ''
lista = []
In [291]:
for x in range(width): #it would be any number since the counter will break the characters
    lines += sentence #fill the lines with the text
    lines += ' ' * (x+25) #and also fill with big aesthetic spaces which will create a beautiful wave
In [292]:
tmp_line = '' 

counter = 0

for character in lines:
    if counter == height:
        break
    elif len(tmp_line) < width:
        tmp_line += character
    else:
        lista.append(tmp_line)
        tmp_line = ''
        counter += 1
In [293]:
patch = "\n".join(lista) #creates effectivly the quilt computing the charachters
In [ ]:
 
In [294]:
f = 'patcherico.txt' #export the patch for the quilt in .txt
export = open(f, 'w')
export.write(patch)
Out[294]:
6141
In [297]:
with open("patcherico.txt") as proto:  #open the external .txt
    proto = proto.read()
In [298]:
print(patch)
🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec
 NotebookApp.rate_limit_window=3.😡 (sex🍬)                         🗣 IOPub data rat
 exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rat
_limit_window=3.😡 (sex🍬)                          🗣 IOPub data rate exceeded. Note
ookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3
😡 (sex🍬)                           🗣 IOPub data rate exceeded. NotebookApp.iopub_d
ta_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)      
                     🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit
1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                    
        🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (b
tes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                              🗣 I
Pub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) No
ebookApp.rate_limit_window=3.😡 (sex🍬)                               🗣 IOPub data r
te exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.r
te_limit_window=3.😡 (sex🍬)                                🗣 IOPub data rate exceed
d. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_
indow=3.😡 (sex🍬)                                 🗣 IOPub data rate exceeded. Noteb
okApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.
 (sex🍬)                                  🗣 IOPub data rate exceeded. NotebookApp.i
pub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)
                                  🗣 IOPub data rate exceeded. NotebookApp.iopub_da
a_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)       
                            🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rat
_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)             
                       🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_lim
t=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                  
                   🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1
😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                      
                🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡
😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                         
              🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡
.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                           
             🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡
😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                            
             🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡
😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                            
              🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡
.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                           
                🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡
😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                         
                   🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1
😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                      
                       🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_lim
t=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                  
                            🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rat
_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)             
                                  🗣 IOPub data rate exceeded. NotebookApp.iopub_da
a_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)       
                                         🗣 IOPub data rate exceeded. NotebookApp.i
pub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)
                                                 🗣 IOPub data rate exceeded. Noteb
okApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.
 (sex🍬)                                                   🗣 IOPub data rate exceed
d. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_
indow=3.😡 (sex🍬)                                                    🗣 IOPub data r
te exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.r
te_limit_window=3.😡 (sex🍬)                                                     🗣 I
Pub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) No
ebookApp.rate_limit_window=3.😡 (sex🍬)                                             
        🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (b
tes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                                 
                     🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit
1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                    
                                   🗣 IOPub data rate exceeded. NotebookApp.iopub_d
ta_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)      
                                                  🗣 IOPub data rate exceeded. Note
ookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3
😡 (sex🍬)                                                          🗣 IOPub data rat
 exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec) NotebookApp.rat
_limit_window=3.😡 (sex🍬)                                                          
🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡😡😡😡😡😡.😡 (bytes/sec
 NotebookApp.rate_limit_window=3.😡 (sex🍬)                                         
                  🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rate_limit=1😡
😡😡😡😡.😡 (bytes/sec) NotebookApp.rate_limit_window=3.😡 (sex🍬)                       
In [ ]:
        
In [252]:
frase = '                            🗣 IOPub data rate exceeded. NotebookApp.iopub_data_rat'
In [253]:
print(len(frase))
82
In [ ]: