pip install flask --target app
to save the modules in the app folder
pip install flask-cors --target app
to save the modules in the app folder
make __main__.py in the app folder and put the executable code in it
then make a zip file of the app folder it's name is app.zip
then execute the following command
python app.zip