read/write .webloc files
Project description
Install
$ [sudo] pip install webloc
Functions
function | __doc__ |
---|---|
webloc.read(path) |
return webloc url |
webloc.write(path, url) |
write url to webloc file |
CLI
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/
readme-md - README.md generator
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.3.24.tar.gz
(1.7 kB
view hashes)
Built Distribution
webloc-2019.3.24-py2.py3-none-any.whl
(193.0 kB
view hashes)
Close
Hashes for webloc-2019.3.24-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73da5016e6a1e7cca7deb27adfd4ff37844c13601300cff3c6dbf1e198d0c60f |
|
MD5 | e877349d896ee4ba150bb4f7d7579d36 |
|
BLAKE2b-256 | 6e8ca94d191d6f930531464f2df0a4e62acb6f6874630ca16e41362c5c4ff5c4 |