how to make python website on google code example
Example: 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)
logoFont = font.Font(family="Arial", size="30")
title = tk.Label(text="Google", font=logoFont).pack()
btn1 = tk.Label(text="\nGoogle Search...").pack()
entry = tk.Entry(root)
entry.pack()
btn = tk.Button(root, text="search google", command=search)
btn.pack()
root.mainloop()