This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
import subprocess | |
import mysql.connector | |
import string | |
import random | |
def promptInput(text: str, default: str) -> str: | |
prompt = f"{text} [{default}]" if default is not None else text | |
prompt += ": " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import pickle | |
import subprocess | |
if __name__ == "__main__": | |
def dictString(dictionary: dict, level=0, seperator=">", whiteSpaceAfterSeperator=True, globalPrefix="") -> str: | |
ret = "" | |
for v in dictionary.keys(): | |
ret += globalPrefix + seperator * level |