Filters for Debug, Info, Warning, Critical , Error and Normal messages
Text input bar to execute commands
Provides a better console for python programs to use
python 3.7.5 or above (have no idea if the versions below that work) PySimpleGuiQt (should install itself when Better Console is installing)
pip install Better-Console==0.0.6
# Example:
import Better_Console
# Create an instance of better console . Warning: Please only create one instance of the object
c=betterConsole.BetterConsole()
# I recommend you to execute this once after creating an instance of better console
c.loop()
# Printing to console
c.print("Test","test")
# Logging
c.debug("Test","test")
c.info("Test","test")
c.warn("test","test")
c.crit("Crit TEst","test")
c.error("tset","test")
# Add commands
def func():
c.print("Example")
c.commandHandler.addCommands({"func":func})
while True:
#Update Better Console
c.loop()