3.141592653589793238462643383279502884197169399375
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user