Guest User

Untitled

a guest
Jan 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. return dlinfolist
  2.  
  3. def str2bool(v):
  4. return v.lower() in ("yes", "true", "t", "1","y")
  5.  
  6. #ask user if they want batch mode
  7. batch = raw_input("""Do you want to use batch mode? Type "y" to do so: """)
  8. clearscreen() #the whole thing
  9. if str2bool(batch):
  10. batchlocation = raw_input("""Where is your file?: """)
Add Comment
Please, Sign In to add comment