simple_webbrowser
is a module that makes webbrowser
module way more simple to work with.
This module has been recently reestructurated with a new __init__.py
file so you don't have to import simple_webbrowser
from simple_webbrowser
, which is pointless and deprecated after version 0.1.4. Apps that used that are still compatible though!
This module is licensed under the MIT License.
Use the following command on the commandline:
pip install simple_webbrowser
Or, for Windows (if Python is on PATH
, but pip
isn't):
python -m pip install simple_webbrowser
Import it like this:
import simple_webbrowser as swb
# Afterwards, you can use it :)
# Just an example of what you can do with this module
# Not a great example though
import simple_webbrowser as swb
try:
x = input()
swb.Google(query=x)
except:
swb.Google("empty :(")
Search query: simple_webbrowser language:Python
Filters: code