Skip to main content

read/write .webloc files

Project description

Install

$ [sudo] pip install webloc

Functions

function description
webloc.read(path) return webloc url
webloc.write(path, url) write url to webloc file

CLI

usage description
python -m webloc [url] read/write webloc url

Examples

>>> import webloc
>>> webloc.write("path.webloc","https://www.google.com/")
>>> webloc.read("path.webloc")
'https://www.google.com/'
$ python -m webloc "path.webloc" "https://www.github.com/"
$ python -m webloc "path.webloc"
https://www.github.com/

readme-md - README.md generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webloc-2018.11.20.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

webloc-2018.11.20-py2.py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page