3.141592653589793238462643383279502884197169399375

This commit is contained in:
barraux.a
2022-12-05 16:07:41 +01:00
parent c7bd62c96f
commit 424a9cdf0d
3 changed files with 14 additions and 3 deletions
+10
View File
@@ -1,6 +1,7 @@
import os
import platform
import shutil
import time
""" ANSI color codes """
@@ -131,3 +132,12 @@ class Layer():
self.cli.screen[self.y+i][self.x+j] = ' '
except:
pass
if __name__ == '__main__':
"""Exemple d'affichage de Hello World"""
gui = Cli()
gui.draw("Hello World", 10, 5, color="YELLOW")
time.sleep(1)
Layer(15, 5, ["World"]).refresh()
gui.display()