This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2025-02-01/mockenv/lib/python3.6/site-packages/kivy/modules/webdebugger.py
2022-07-22 16:13:59 +05:30

31 lines
577 B
Python

# -*- coding: utf-8 -*-
'''
Web Debugger
============
.. versionadded:: 1.2.0
.. warning::
This module is highly experimental, use it with care.
This module will start a webserver and run in the background. You can
see how your application evolves during runtime, examine the internal
cache etc.
Run with::
python main.py -m webdebugger
Then open your webbrowser on http://localhost:5000/
'''
__all__ = ('start', 'stop')
import os
if 'KIVY_DOC' not in os.environ:
from kivy.modules._webdebugger import start, stop
else:
start = stop = lambda *x: True