Skip to main content

read/write .webloc files

Project description

Installation

$ [sudo] pip install webloc

Functions

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

Executable modules

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

Scripts usage

usage: webloc path [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/
$ webloc file.webloc https://github.com/
$ webloc file.webloc
https://github.com/

python-readme-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-2019.4.16.tar.gz (2.3 kB view hashes)

Uploaded Source

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