Commit cd6b3554 authored by Nathan/Eilisha Shiraini's avatar Nathan/Eilisha Shiraini
Browse files

Implemented a small test script

parent 8e6a54fb
......@@ -50,5 +50,11 @@ BUILDERS = {mod['id'] : mod for mod in _findBuilders(os.path.dirname(__file__))}
def listBuilders():
return '\n'.join("{0[id]} : {0[name]} {0[builder]!r}".format(m) for m in BUILDERS.values())
if __name__ == '__main__':
def _test():
text = input("Text ")
fname = input("File ")
data = BUILDERS['aztec']['builder'](text).encode()
with open(fname + '.txt', 'wt') as f:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment