Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.system('cls')
- banner()
- input_file = sys.argv[1]
- users = []
- with open(input_file, encoding='UTF-8') as f:
- rows = csv.reader(f,delimiter=",",lineterminator="\n")
- next(rows, None)
- for row in rows:
- user = {}
- user['id'] = row[0]
- user['username'] = row[1]
- user['name'] = row[2]
- users.append(user)
- chats = []
- last_date = None
- chunk_size = 5000
- groups=[]
Advertisement
Add Comment
Please, Sign In to add comment