Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for subdir_datewise in subdirs:
- if check_if_processed(subdir_datewise):
- print ("Skipping as trip already processed ", path)
- return
- process_data(subdir_datewise)
- #TO FIX: open(os.path.join(parent_path,"preprocessed_files.txt") stores only 1 path
- with open("preprocessed_files.txt","a") as preprocessed_file:
- preprocessed_file.write(subdir_datewise + "n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement