Pythonで既定のブラウザでURLを開く 2021.09.03 既定のブラウザでURLを開くPythonスクリプトです。 win32comを使用するのが一番簡単かと。 テスト環境は、 Windows 10 Python 3.9.7 です。 import win32com.client as win ws = win.Dispatch("WScript.Shell") ws.Run("https://kajika.xyz")