Guest User

Untitled

a guest
Sep 19th, 2019
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. import os
  2.  
  3. if not os.path.exists("Data/"):
  4.  
  5.     os.system("mkdir Data")
  6.  
  7. if not os.path.exists("Data/img/"):
  8.  
  9.     os.system("mkdir Data/img")
  10.  
  11. if not os.path.exists("Data/raw_scraped.csv"):
  12.  
  13.     file = open("Data/raw_scraped.csv", "w+")
  14.     file.write("challengeImg,challengeInstruction")
Advertisement
Add Comment
Please, Sign In to add comment