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():
|
def build():
|
||||||
from os import system as cmd
|
from os import system as cmd
|
||||||
from editor import edit
|
from editor import edit
|
||||||
|
|
||||||
cmd("clear")
|
cmd("clear")
|
||||||
# useEditor = input("Run Version Editor (Y|*)? ").upper()
|
# useEditor = input("Run Version Editor (Y|*)? ").upper()
|
||||||
# if useEditor == "Y":
|
# 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
|
import package.src.firepup650 as fp
|
||||||
|
|
||||||
print("Until here (Half-second sleep)")
|
print("Until here (Half-second sleep)")
|
||||||
fp.sleep(.5)
|
fp.sleep(0.5)
|
||||||
bob = fp.menu({"Yes":"Y", "No": ""}, "(If owner) Build?")
|
bob = fp.menu({"Yes": "Y", "No": ""}, "(If owner) Build?")
|
||||||
system("clear")
|
system("clear")
|
||||||
if environ["REPL_OWNER"] == "Firepup650" and bob == "Y":
|
if environ["REPL_OWNER"] == "Firepup650" and bob == "Y":
|
||||||
build()
|
build()
|
||||||
exit()
|
exit()
|
||||||
else:
|
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.console.warn("Test Warning")
|
||||||
fp.e("No demo yet!")
|
fp.e("No demo yet!")
|
||||||
|
|
Loading…
Reference in a new issue