daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Jan 16th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. import time
  3. import subprocess
  4.  
  5.  
  6. URL = raw_input('Please enter the URL you would like the loop to target>')
  7. COUNTER = 1
  8.  
  9. while COUNTER != 5:
  10.   p = subprocess.Popen('chromium %s' % URL, shell=True, stdout=subprocess.PIPE)
  11.   time.sleep(3)
  12.   p.kill()
  13.   COUNTER = COUNTER + 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top