Sep-08-2019, 08:11 AM
you can use module
webbrowser
to open urls in default browser.import webbrowser as wb def main(): urls = ["https://python-forum.io", "https://python-forum.io/Thread-Urls-in-a-file-to-be-executed"] for url in urls: wb.open(url) main()