/OpenWebPortal

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

OpenWebPortal

How to use:

  • pip install openwebportal
  • import OpenWebPortal as OWP
  • OWP.start() to start the web server
  • define a variable:
    • x=OWP.OWP("string", True)
    • x is the reference to the variable
    • "string" is the name of the setting
    • True is the default(first) value of the variable
  • to access the value of the variable:
    • x.value