loader
This commit is contained in:
parent
4d0ed9b858
commit
509bf9ef24
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue