uquiz/uquiz

28 lines
460 B
Plaintext
Raw Normal View History

2020-03-13 21:03:23 +00:00
#!/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)