Aug-06-2021, 09:38 PM
make it shorter, and i think webbrowser always uses the default browser
import webbrowser import os websitelist = "Setup1\\web_value.txt" def websites(): websites = open(websitelist).read().splitlines() for website in websites: webbrowser.open(website.strip()) websites()