RandomDBGenerator/pythonProject/main.py

18 lines
462 B
Python
Raw Normal View History

# This is a sample Python script.
from sqlparse import SQLParser
# Press Umschalt+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def main():
sql_tables = SQLParser.parse_sql_file("schema.sql")
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
main()
# See PyCharm help at https://www.jetbrains.com/help/pycharm/