How can I solve a "500 Internal Server Error" when importing modules in __init__.py? – Html
I use Flask for the first time. The following __init__.py is working fine : Python v3.10.6 #!/usr/bin/env python3 from flask import Flask, render_template, request app = Flask(__name__) @app.route('/testurl') def testurl(): return render_template('index.html') @app.route('/from_client', methods=['POST']) def from_client(): request_data = request.get_json() return…