Facebook
From Bistre Meerkat, 1 Year ago, written in Python.
This paste is a reply to Nitro gen from AushiroEnLive - view diff
Embed
Download Paste or View Raw
Hits: 200
  1. import requests
  2. import random
  3. import string
  4.  
  5.  
  6. print("By AushiroEnLive")
  7. num = int(input('Nombre de nitro à gen : '))
  8.  
  9.  
  10. with open("Aushiro.txt", "w", encoding='utf-8') as file:
  11.     print("Les nitros sont en cours de genération")
  12.  
  13.     for i in range(num):
  14.         code = "".join(random.choices(
  15.             string.ascii_uppercase + string.digits + string.ascii_lowercase,
  16.             k = 32
  17.         ))
  18.  
  19.         file.write(f"https://discord.gift/{code}n")
  20.  
  21.     print(f"J'ai gen {num} nitron")
  22.  
  23. with open("Aushiro.txt") as file:
  24.     for line in file.readlines():
  25.         nitro = line.strip("n")