#!/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()