This commit is contained in:
lickthecheese 2020-03-13 17:03:23 -04:00
parent 4d0ed9b858
commit 509bf9ef24
1 changed files with 27 additions and 0 deletions

27
uquiz Executable file
View File

@ -0,0 +1,27 @@
#!/usr/bin/env python3
import sys, os, json
motd="""
\033c
_
_ _ __ _ _ _(_)____
| | | |/ _` | | | | |_ /
| |_| | (_| | |_| | |/ /
\__,_|\__, |\__,_|_/___|
|_|
uquiz is a simple user based quiz engine
"""
print(motd)
if len(sys.argv) < 2:
print('run with the uquiz file as an arg to start')
sys.exit()
filename=sys.argv[1]
with open(filename, 'r') as file:
data = jason.load(file)