Beispiel #1
0
# -*- coding: utf-8 -*-

"""
For debugging purpose
"""

from myflask import app

if __name__ == "__main__":
    app.run(port=5000, debug=True)
Beispiel #2
0
#!/usr/bin/env python
from myflask import app
app.run(debug = True)
Beispiel #3
0
# _*_coding: UTF-8_*_
from myflask import app

app.run(__debug__=True)
Beispiel #4
0
# pylint: disable=missing-docstring
from myflask import app

if __name__ == '__main__':
    app.run()
Beispiel #5
0
# _*_coding: UTF-8_*_
from myflask import app
app.run(__debug__=True)
Beispiel #6
0
#!/usr/local/bin/python3
from myflask import app
import sys
import os

if __name__=='__main__':
    try:
        ip = sys.argv[1]
        port = sys.argv[2]
    except IndexError:
        ip = "localhost"
        port = 5000
    
    debug = True if os.environ.get("HIDDEN_ID") == 'BATMAN' else False

    app.run(host=ip,debug=debug,port=port)