You Are Here Home > Check To See If a File Exists
DirectorySync is a directory synchronizing and backup utility providing automated, real-time syncing and scheduled, configurable backups at an affordable price.

Check To See If a File Exists

import os
 
if os.path.exists(path_to_file):
   # Do stuff
Check To See If a File Exists
Filed under: Python   Posted by: Codehead
Do you have any questions? ask here.




No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment