fpsql-py-package/main.py

23 lines
635 B
Python
Raw Normal View History

2023-09-29 23:35:51 +00:00
from os import environ, system
from build import build
system("clear")
# joe = system("cat /tmp/updated.txt")
# if joe != 0:
# system("./fix.sh")
# system("clear")
print("Should be nothing from here")
import package.src.firepup650 as fp
print("Until here (Half-second sleep)")
fp.sleep(.5)
bob = fp.menu({"Yes":"Y", "No": ""}, "(If owner) Build?")
system("clear")
if environ["REPL_OWNER"] == "Firepup650" and bob == "Y":
build()
exit()
else:
print(fp.menu({"a": "hi", "Some fairly long second test case": ["a", "b", "c"], "A third test": 0}, "Test menu"))
fp.console.warn("Test Warning")
fp.e("No demo yet!")