Jul-14-2020, 06:56 AM
This is what i got:
Traceback (most recent call last):
File "C:\Users\SystemAdmin\Desktop\testpy.py", line 13, in <module>
sleep(30)
NameError: name 'sleep' is not defined
This is what i put down:import webbrowser
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
webbrowser.get(chrome_path).open('https://www.halowaypoint.com/en-us/news')
import time
sleep(30)
os.system("taskkill /im chrome.exe /f")
But then i want it to open again, after that time is up.
Im using way point for more of a message grabber. I actually plan on dedicating most of my time on learning all languages. I'm just starting, and this stuff fascinates me. Thanks for the help :D
Traceback (most recent call last):
File "C:\Users\SystemAdmin\Desktop\testpy.py", line 13, in <module>
sleep(30)
NameError: name 'sleep' is not defined
This is what i put down:import webbrowser
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
webbrowser.get(chrome_path).open('https://www.halowaypoint.com/en-us/news')
import time
sleep(30)
os.system("taskkill /im chrome.exe /f")
But then i want it to open again, after that time is up.
Im using way point for more of a message grabber. I actually plan on dedicating most of my time on learning all languages. I'm just starting, and this stuff fascinates me. Thanks for the help :D