HTML to GUI
Project description
html_loader
LoaderHTML
Arguments: name: str="Document" — Window's name, icon: str | None=None — Window's icon, width: int=700, heigth: int=700
Functions:
- Thread(fun) — start function from thread (decorator)
- load_html(code: str) — load code
- load_from_url(url: str) — load code from url
- load_file(name: str) — load code from file
- load_file_absolute_path(name: str) — load code from file by absolute path
- run() — show window
Example:
from html_loader import LoaderHTML
loader = LoaderHTML("Test", "icon.png")
loader.load_file("index.html")
# this function will start and run until it ends without affecting the window
@load.Thread
def main():
url = input("url:")
loader.load_from_url(url)
loader.run()
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
html_loader-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for html_loader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319eb148a1d5ce5faae55bae7b083950d0436c137a1f08573ff5d34dcc9fbb41 |
|
MD5 | 4267ec6bcf88aeff6c2ac0a443af1974 |
|
BLAKE2b-256 | 27644f1962e9c58e2e3040d397a3b45baffea5e141190c45f01b4506ee79a57c |