Wobbly-Website/files/python/PyBrow/PyBrow1.0.py
2023-07-30 18:32:42 +02:00

25 lines
559 B
Python

#!/usr/bin/python3
import webview
loopforever = 0
def newurl():
webview.create_window("PyBrow", url,)
webview.start()
while loopforever == 0:
input01 = input("URL, search or command: ")
if (input01.__contains__("https://")):
url = input01
else:
if (input01.__contains__(".")):
url = "https://" + input01
else:
if input01 == "exit":
loopforever = 1
else:
url = "https://duckduckgo.com/" + input01
if loopforever == 0:
newurl()