Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import time
- import subprocess
- URL = raw_input('Please enter the URL you would like the loop to target>')
- COUNTER = 1
- while COUNTER != 5:
- p = subprocess.Popen('chromium %s' % URL, shell=True, stdout=subprocess.PIPE)
- time.sleep(3)
- p.kill()
- COUNTER = COUNTER + 1
Add Comment
Please, Sign In to add comment