Skip to content

SuperZombi/Web-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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