Use these markdown code blocks in the actual cells in the jupyter notebook
Note: you can add the most used libs here
inst_flask = '''from flask import Flask
app = Flask(__name__)'''
exec(inst_flask, globals(), locals()) # added globals and locals to make it work in jupyter notebook, as it is not a script and hence does not have global and local variables
# make a lambda function for run_app which fills in the number in port parameter of run method
run_app = lambda port=None,host=None, debug=None, load_dotenv=True, : exec(f'''if __name__ == "__main__":