import os if os.path.exists(path_to_file): # Do stuff
Check To See If a File Exists
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URL
import os if os.path.exists(path_to_file): # Do stuff
No comments yet.
RSS feed for comments on this post. TrackBack URL