Share your repls and programming experiences

← Back to all posts
The Varinator, get variables from a custom designed file
gatorade322

The Varinator (A file variable storage system, similar to json)

I have a test file to show you down below. This module, The Varinator, helps you save variables to files. Here would be an example to the file:

If you ran the function with a file name of test.txt, you would get this output:

That is all this module does. Thank you for reading!

#***~~GOODBYE!~~***

Voters
gatorade322
Comments
hotnewtop
gatorade322

The first line should be:
This module requires a file (whatever name you would like). This module, The Varinator, lets you parse variables out of a custom designed file format, and put it into a list of dictionarys, with possible dictionaries in them. Here would be an example to the file: