Answers for "how to check if a file exist in a directory python"

0

python if certain file is in a directory

import os

os.path.exists('./final_data_2020.csv')
Posted by: Guest on September-08-2021

Code answers related to "how to check if a file exist in a directory python"

Python Answers by Framework

Browse Popular Code Answers by Language