ExamV1

prnt.sc url generator / Python

Oct 30th, 2021 (edited)
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.89 KB | None | 0 0
  1. #if you have no idea on how to use the code below use this exe version of it instead for those who don't understand #https://www.sendspace.com/file/kss5e9
  2.  
  3. import random
  4. import string
  5. import webbrowser
  6. import time
  7. print('prnt.sc url generator made by Exam')
  8. while True: #loop
  9.     let_num = string.ascii_lowercase + string.digits #this generates the random numbers and letters.
  10.     result_str = ''.join(random.choice(let_num)for i in range(6)) #this prints out the random numbers and letters with a loop of 6 characters.
  11.     time.sleep(5) #change number to change speed on how fast it will generate prnt.sc url's (Lower is faster, Higher is slower in seconds)
  12.     print("https://prnt.sc/", result_str, sep='') #this simply prints the generated url.
  13.     time.sleep(5) #speed
  14.     webbrowser.open('https://prnt.sc/' + result_str) #this will open your default browser with the generated prnt.sc url.
Add Comment
Please, Sign In to add comment