import sqlalchemy as db
import pandas as pd
import os
import sys
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv(), override=True)

engine = db.create_engine('mysql+pymysql://'+os.getenv("USER")+':'+os.getenv("PASSWORD")+'@'+os.getenv("HOST")+':3306/website')
df=pd.read_csv('shapes.txt',delimiter=',', dtype=str)
try:
    df.to_sql('shapes', con=engine, index=False, if_exists='append')
except Exception as e:
    print(e)

f0a09613dc58cf7ea7ee9fce87935df76589a6f9
<mask token>

<mask token>
load_dotenv(find_dotenv(), override=True)
<mask token>
try:
    df.to_sql('shapes', con=engine, index=False, if_exists='append')
except Exception as e:
    print(e)

<mask token>
load_dotenv(find_dotenv(), override=True)
engine = db.create_engine('mysql+pymysql://' + os.getenv('USER') + ':' + os
    .getenv('PASSWORD') + '@' + os.getenv('HOST') + ':3306/website')
df = pd.read_csv('shapes.txt', delimiter=',', dtype=str)
try:
    df.to_sql('shapes', con=engine, index=False, if_exists='append')
except Exception as e:
    print(e)

import sqlalchemy as db
import pandas as pd
import os
import sys
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv(), override=True)
engine = db.create_engine('mysql+pymysql://' + os.getenv('USER') + ':' + os
    .getenv('PASSWORD') + '@' + os.getenv('HOST') + ':3306/website')
df = pd.read_csv('shapes.txt', delimiter=',', dtype=str)
try:
    df.to_sql('shapes', con=engine, index=False, if_exists='append')
except Exception as e:
    print(e)

import sqlalchemy as db
import pandas as pd
import os
import sys
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv(), override=True)

engine = db.create_engine('mysql+pymysql://'+os.getenv("USER")+':'+os.getenv("PASSWORD")+'@'+os.getenv("HOST")+':3306/website')
df=pd.read_csv('shapes.txt',delimiter=',', dtype=str)
try:
    df.to_sql('shapes', con=engine, index=False, if_exists='append')
except Exception as e:
    print(e)
