Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Python Launcher version 0.0.3
- #Coded by GameNationRDF
- #It will be updated frequently with bug fixes and new feautures!
- import webbrowser
- import sys
- print ("Type in the website address and hit enter!")
- print ("")
- print ("Hit enter without typing anything to open up your file manager!")
- print ("")
- print ("Basically type 'exit' to close program!")
- print ("")
- while True:
- x=str(input("Enter web adress here: "))
- if x == ("exit"):
- sys.exit()
- else:
- handle=webbrowser.get()
- handle.open(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement