An open API service indexing awesome lists of open source software.

https://github.com/superzombi/web-console

Python Web Console
https://github.com/superzombi/web-console

logger logging python-console

Last synced: 8 months ago
JSON representation

Python Web Console

Awesome Lists containing this project

README

          

# Web Console

### Example usage
```
pip install web_console_log
```
```python
from web_console import WebConsole

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

### Constructor
```python
WebConsole(host="127.0.0.1", port=8080, show_url=True, debug=False)
```

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

## đŸ’²Donate






Donatello







Donation Alerts