Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. for subdir_datewise in subdirs:
  2. if check_if_processed(subdir_datewise):
  3. print ("Skipping as trip already processed ", path)
  4. return
  5. process_data(subdir_datewise)
  6. #TO FIX: open(os.path.join(parent_path,"preprocessed_files.txt") stores only 1 path
  7. with open("preprocessed_files.txt","a") as preprocessed_file:
  8. preprocessed_file.write(subdir_datewise + "n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement