first commit

This commit is contained in:
2021-03-09 15:02:21 +01:00
commit 9f817ff112
4 changed files with 80 additions and 0 deletions

1
examples/ansi_escape.py Symbolic link
View File

@@ -0,0 +1 @@
/home/filip/Documents/python3/ansi_escape/ansi_escape.py

9
examples/test.py Normal file
View File

@@ -0,0 +1,9 @@
import ansi_escape
a = 0
while a < 256:
b = str(a)
print(ansi_escape.color("256", "bg", b) + " " + b + " " + ansi_escape.reset, end='')
a += 1
print(ansi_escape.escape + "]0;Demo" + ansi_escape.escape + "\\")
input()