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 |
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/
Project details
Release history Release notifications | RSS feed
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.13.tar.gz
(1.7 kB
view hashes)