Formatting
This commit is contained in:
parent
b038e59b4c
commit
5e4519301c
2 changed files with 13 additions and 3 deletions
1
build.py
1
build.py
|
@ -1,6 +1,7 @@
|
|||
def build():
|
||||
from os import system as cmd
|
||||
from editor import edit
|
||||
|
||||
cmd("clear")
|
||||
# useEditor = input("Run Version Editor (Y|*)? ").upper()
|
||||
# if useEditor == "Y":
|
||||
|
|
15
main.py
15
main.py
|
@ -10,13 +10,22 @@ 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?")
|
||||
fp.sleep(0.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"))
|
||||
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!")
|
||||
|
|
Loading…
Reference in a new issue