コード例 #1
0
# coding: utf-8

from scratch import app

import sys

reload(sys)
sys.setdefaultencoding("UTF-8")

if __name__ == "__main__":
    app.run(host="0.0.0.0", port=7072, debug=True)
コード例 #2
0
# coding: utf-8

from scratch import app

import sys
reload(sys)
sys.setdefaultencoding('UTF-8')

if __name__ == '__main__':
    app.run(host='127.0.0.1', port=7079, debug=True)
コード例 #3
0
# coding: utf-8

from scratch import app

import sys
reload(sys)
sys.setdefaultencoding('UTF-8')

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=8082)
コード例 #4
0
# coding: utf-8

from scratch import app

import sys
reload(sys)
sys.setdefaultencoding('UTF-8')

if __name__ == '__main__':
    app.run(host='0.0.0.0')
コード例 #5
0
# coding: utf-8

from scratch import app

import sys
reload(sys)
sys.setdefaultencoding('UTF-8')

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=7073, debug=True)