Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 1.32 KB

README.md

File metadata and controls

62 lines (54 loc) · 1.32 KB

Web Console

Example usage

pip install web_console_log
from web_console import WebConsole

console = WebConsole()
console.log("Hello world")
console.loop()

Constructor

WebConsole(host="127.0.0.1", port=8080, show_url=True, debug=False)

Methods

console.log(msg)
console.warn(msg)
console.error(msg)
console.url
console.open() # open console_url in browser
console.sleep(sec) # use this instead of time.sleep()
console.loop() # use this if you dont have your code mainloop

💲Donate

Donatello
Donation Alerts