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)
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)
How to make google in python
import tkinter as tk
import tkinter.font as font
import webbrowser
root = tk.Tk()
root.title("google alt")
def search():
query = "https://www.google.com/search?q="+entry.get().replace(" ","+")
webbrowser.open(query)
# Fonts
logoFont = font.Font(family="Arial", size="30")
# Header
title = tk.Label(text="Google", font=logoFont).pack()
btn1 = tk.Label(text="\nGoogle Search...").pack()
# Searchbox
entry = tk.Entry(root)
entry.pack()
btn = tk.Button(root, text="search google", command=search)
btn.pack()
root.mainloop()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us