在正常情况下,字符串 + 字符串有效,但在这里我无法在我的 chrome 代码中获取 URL1。
URL1 = "https://www.google.com/"
os.system('start chrome "url here" --incognito --window-position=-10,-3 --window-size=550,1030')
我试过做
os.system('start chrome "%s" --incognito --window-position=-10,-3 --window-size=550,1030') % (URL1)
但它也没有用。
有什么帮助吗?