read/write .webloc files
Project description
Installation
$ [sudo] pip install webloc
$ [sudo] npm i -g webloc
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/
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-2020.7.1.tar.gz
(2.2 kB
view hashes)