@4pip/

Gekleurde teksten

Python

Gekleurde teksten

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.5707546739173566","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IHN5cyx0aW1lLHJhbmRvbQ0KcHJpbnQgKCkNCnByaW50ICgnU25lbGhlaWQgdmFuIHR5cGVuKScpDQpwcmludCAoKQ0KcHJpbnQgKCdoZWxsbyB3b3JsZCAobm9ybWFsKScpDQpkZWYgc3ByaW50KHN0cik6DQogICBmb3IgYyBpbiBzdHIgKyAnXG4nOg0KICAgICBzeXMuc3Rkb3V0LndyaXRlKGMpDQogICAgIHN5cy5zdGRvdXQuZmx1c2goKQ0KICAgICB0aW1lLnNsZWVwKDMuLzkwKQ0Kc3ByaW50KCdoZWxsbyB3b3JsZCAoc3ByaW50KScpDQpkZWYgaGFsZihzdHIpOg0KICAgZm9yIGMgaW4gc3RyICsgJ1xuJzoNCiAgICAgc3lzLnN0ZG91dC53cml0ZShjKQ0KICAgICBzeXMuc3Rkb3V0LmZsdXNoKCkNCiAgICAgdGltZS5zbGVlcCgzLi81MCkNCmhhbGYoJ2hlbGxvIHdvcmxkIChoYWxmKScpDQpkZWYgc2xvdyhzdHIpOg0KICAgZm9yIGMgaW4gc3RyICsgJ1xuJzoNCiAgICAgc3lzLnN0ZG91dC53cml0ZShjKQ0KICAgICBzeXMuc3Rkb3V0LmZsdXNoKCkNCiAgICAgdGltZS5zbGVlcCgzLi8yMCkNCnNsb3coJ2hlbGxvIHdvcmxkIChzbG93KScpDQp0aW1lLnNsZWVwKDIpDQpwcmludCAoKQ0KcHJpbnQgKCkNCnByaW50ICgnVGVrc3Qga2xldXJlbiBpbiBQeXRob24nKQ0KcHJpbnQgKCkNCnByaW50KCdcMDMzWzE7MzA7NDBtIFp3YXJ0JykNCnByaW50KCdcMDMzWzE7MzE7NDBtIFJvb2QnKQ0KcHJpbnQoJ1wwMzNbMTszMjs0MG0gR3JvZW4nKQ0KcHJpbnQoJ1wwMzNbMTszMzs0MG0gT3JhbmplJykNCnByaW50KCdcMDMzWzE7MzQ7NDBtIEJsYXV3JykNCnByaW50KCdcMDMzWzE7MzU7NDBtIFBhYXJzJykNCnByaW50KCdcMDMzWzE7MzY7NDBtIExpY2h0YmxhdXcnKQ0KcHJpbnQoJ1wwMzNbMTszNzs0MG0gV2l0JykNCnRpbWUuc2xlZXAoMikNCnByaW50ICgpDQpwcmludCAoKQ0KcHJpbnQoJ0FjaHRlcmdyb25kJykNCnByaW50ICgpDQpwcmludCgnXDAzM1sxOzMyOzQwbSBad2FydCcpDQpwcmludCgnXDAzM1sxOzMyOzQxbSBSb29kJykNCnByaW50KCdcMDMzWzE7MzI7NDJtIEdyb2VuJykNCnByaW50KCdcMDMzWzE7MzI7NDNtIE9yYW5qZScpDQpwcmludCgnXDAzM1sxOzMyOzQ0bSBCbGF1dycpDQpwcmludCgnXDAzM1sxOzMyOzQ1bSBQYWFycycpDQp0aW1lLnNsZWVwKDIpDQpwcmludCAoKQ0KcHJpbnQgKCkNCnByaW50ICgnXDAzM1sxOzM3OzQwbSBMZXR0ZXJ0eXBlcycpDQpwcmludCAoKQ0KcHJpbnQoJ1wwMzNbMDszNzs0MG0gR2VlbiBFZmZlY3QnKQ0KcHJpbnQoJ1wwMzNbMTszNzs0MG0gVmV0JykNCnByaW50KCdcMDMzWzI7Mzc7NDBtIFN0cmVlcCcpDQpwcmludCgnXDAzM1szOzM3OzQwbSBOZWdhdGllZiAxJykNCnByaW50KCdcMDMzWzU7Mzc7NDBtIE5lZ2F0aWVmIDInKQ0KdGltZS5zbGVlcCgyKQ0KcHJpbnQgKCkNCnByaW50ICgpDQo="},"asBuffer":null},"loaded":true}}
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
import sys,time,random
print ()
print ('Snelheid van typen)')
print ()
print ('hello world (normal)')
def sprint(str):
   for c in str + '\n':
     sys.stdout.write(c)
     sys.stdout.flush()
     time.sleep(3./90)
sprint('hello world (sprint)')
def half(str):
   for c in str + '\n':
     sys.stdout.write(c)
     sys.stdout.flush()
     time.sleep(3./50)
half('hello world (half)')
def slow(str):
   for c in str + '\n':
     sys.stdout.write(c)
     sys.stdout.flush()
     time.sleep(3./20)
slow('hello world (slow)')
time.sleep(2)
print ()
print ()
print ('Tekst kleuren in Python')
print ()
print('\033[1;30;40m Zwart')
print('\033[1;31;40m Rood')
print('\033[1;32;40m Groen')
print('\033[1;33;40m Oranje')
print('\033[1;34;40m Blauw')
print('\033[1;35;40m Paars')
print('\033[1;36;40m Lichtblauw')
print('\033[1;37;40m Wit')
time.sleep(2)
print ()
print ()
print('Achtergrond')
print ()
print('\033[1;32;40m Zwart')
print('\033[1;32;41m Rood')
print('\033[1;32;42m Groen')
print('\033[1;32;43m Oranje')
print('\033[1;32;44m Blauw')
print('\033[1;32;45m Paars')
time.sleep(2)
print ()
print ()
print ('\033[1;37;40m Lettertypes')
print ()
print('\033[0;37;40m Geen Effect')
print('\033[1;37;40m Vet')
print('\033[2;37;40m Streep')
print('\033[3;37;40m Negatief 1')
print('\033[5;37;40m Negatief 2')
time.sleep(2)
print ()
print ()