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
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-2018.11.20.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for webloc-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ee5249fdf85b7561f95f604bd46fbfbf39a4beeb7fe22c8cd36b27d07970a2 |
|
MD5 | 48985f2670fb4bd2aa633cb6a1361dcf |
|
BLAKE2b-256 | 8f511089c1b64f9208c3960d71202bc156cff1a6f93a49e686740c2e6f02c3ea |