-
-
Save AhsanSN/d9330fdf109a1d2dbb658ab2505a6997 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess as sp | |
| import time | |
| for i in range (0, 500): | |
| for j in range (0, 500): | |
| child = sp.Popen('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito' % "https://www.youtube.com/watch?v=SmVy3iPm-_g&feature=youtu.be") | |
| time.sleep(48) | |
| child.terminate() | |
| child = sp.Popen('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito' % "https://www.youtube.com/watch?v=trRLkiMpYAo&feature=youtu.be") | |
| time.sleep(50) | |
| child.terminate() | |
| time.sleep(5000) | |
| print("it"+i) |
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://microsoftedgetips.microsoft.com/en-us/1/50?source=updatefirstrunrs5