Exemple #1
0
from tictactoe import app

if __name__ == '__main__':
    app.run()
from tictactoe import app


if __name__ == '__main__':
    import sys
    debug = False
    if len(sys.argv) > 1:
        debug = sys.argv[1] == 'DEV'
    app.run(debug=debug)
Exemple #3
0
from tictactoe import app, views

app.debug = True
app.run(port=3000)
from tictactoe import app

if __name__ == "__main__":
    app.run(debug=True)