set the number of browsers you want to enter, and open the relevant website
< hr >import os
import time
opentime = input(":")
i = int(opentime)
def openLLQtime(i):
if i <= 0:
print("")
else:
while i > 0:
os.system(r""C:\Users\PHJ\AppData\Roaming\360se6\Application\360se.exe --incognito" www.baidu.com")
i = i - 1
print(i)
time.sleep(3)
return
----------
import os
import time
opentime = input(":")
i = int(opentime)
while i > 0:
os.system(r""C:\Users\PHJ\AppData\Roaming\360se6\Application\360se.exe --incognito" www.baidu.com")
i = i - 1
print(i)
time.sleep(1)
< hr >
the indentation and syntax have been re-modified above, but there is still no browser opening.
if you test with the following code, you can open a browser automatically only when the currently open browser is deleted.
A novice on the road, please give me some advice
and why
os.system (r"C:UsersPHJAppDataRoaming360se6Application360se.exe-- incognito") * the number will not work, only one
will be opened.