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
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)