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.

Files for webloc, version 2019.4.16
Filename, size File type Python version Upload date Hashes
Filename, size webloc-2019.4.16.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page