Strata-Scratch / csv_to_db_automation

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

Remove OS specific commands #2

Open ClaskoTheKnight opened 2 years ago

ClaskoTheKnight commented 2 years ago

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