Answers for "python how to close a website with webbrowser"

0

python close browser

# credit to Stack Overflow user in the source link

import os

os.system("taskkill /im firefox.exe /f")
os.system("taskkill /im chrome.exe /f")
Posted by: Guest on June-10-2021
0

python webbrowser close tab

#Only For Windows!
import os
os.system("taskkill /im chrome.exe /f")
Posted by: Guest on October-09-2021

Code answers related to "python how to close a website with webbrowser"

Python Answers by Framework

Browse Popular Code Answers by Language