search

Home  >  Q&A  >  body text

python flask运行时提示出错了

大家讲道理大家讲道理2892 days ago291

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:27:06

    Try changing the startup mode to debug where the flask app is started.

    app.run(debug=True)

    You can print out the error reason.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:27:06

    Why should you use livereload?Flask自带reload机制的,修改代码以后保存就会reload。所以你直接app.run()?

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:27:06

    f.save(path.join(upload_path, secure_filename(f.filename)))
    # Compare the difference between my code and the corresponding code there, thank you!

    reply
    0
  • Cancelreply