Skip to content

Instantly share code, notes, and snippets.

Created February 15, 2017 19:43
Show Gist options
  • Save anonymous/e70398080d5ef7bed29a89b18f782853 to your computer and use it in GitHub Desktop.
Save anonymous/e70398080d5ef7bed29a89b18f782853 to your computer and use it in GitHub Desktop.
null created by anonymous - https://repl.it/FlAW/0
# !!! RUN ME FIRST !!!
# Fox config generator
import json
# Error strings
ERR_EXISTS = "A fox_config.json already exists in the working directory. Please run config_gen.py with the --gen-new switch to create a new fox_config.json."
# Config template
cfg_s = { "api_key", 0 }
print("config_gen.py")
print("v0.1, beta")
print("Please report bugs to https://github.com/plusreed/foxpy")
print("\n")
print("Welcome! This program will ask you a few brief questions to generate a fox_config.json.")
print("\nError! " + ERR_EXISTS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment