Skip to content

A simple Python module that allows for a more simple webbrowser and script connection, based on standard webbrowser module.

License

Notifications You must be signed in to change notification settings

MF366-Coding/simple_webbrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_webbrowser

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!

License

This module is licensed under the MIT License.

Installing

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

Usage

Import it like this:

import simple_webbrowser as swb

# Afterwards, you can use it :)

A program that searches on Google

# 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 :(")

Projects where this module is used... (GitHub)

Search query: simple_webbrowser language:Python

Filters: code

About

A simple Python module that allows for a more simple webbrowser and script connection, based on standard webbrowser module.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages