Strata-Scratch / csv_to_db_automation

Python script that automates CSV file imports to a postgres database
55 stars 39 forks source link

Remove OS specific commands #1

Closed ClaskoTheKnight closed 2 years ago

ClaskoTheKnight commented 2 years ago

Use os.path.join instead of strict concatenation Use shutil to move (instead of MV) Use os.mkdir to make directory Specify FileExistsError in error handling on mkdir