Guest User

Untitled

a guest
Jun 28th, 2020
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. os.system('cls')
  2. banner()
  3. input_file = sys.argv[1]
  4. users = []
  5. with open(input_file, encoding='UTF-8') as f:
  6. rows = csv.reader(f,delimiter=",",lineterminator="\n")
  7. next(rows, None)
  8. for row in rows:
  9. user = {}
  10. user['id'] = row[0]
  11. user['username'] = row[1]
  12. user['name'] = row[2]
  13. users.append(user)
  14.  
  15. chats = []
  16. last_date = None
  17. chunk_size = 5000
  18. groups=[]
Advertisement
Add Comment
Please, Sign In to add comment