“Python Open Google” Ответ

Python Open Google

#Open google in python - Windows
import webbrowser
url='https://google.com'
webbrowser.get('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s').open(url)
Pleasant Petrel

Python Open Google

#Open google in python - MacOSX
import os
os.system("open https://google.com")
Pleasant Petrel

Ответы похожие на “Python Open Google”

Вопросы похожие на “Python Open Google”

Больше похожих ответов на “Python Open Google” по Python

Смотреть популярные ответы по языку

Смотреть другие языки программирования