daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top