if __name__ == '__main__':
currdir = os.getcwd()
for filepath in os.listdir(currdir):
filename, ext = os.path.splitext(filepath)
if ext in ['.xlsx', '.xls', '.csv']:
print(filepath)
data = GetData(filepath)
RecordSql(data, filename)
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Hey π
Want to help the DEV Community feel more like a community?
Head over to the Welcome Thread and greet some new community members!
It only takes a minute of your time, and goes a long way!
Top comments (0)