Opening a dtale sheet using Eclipse Pydev on Windows leads to ERR_CONNECTION_REFUSED on browser. The same code works on spyder and jupyter however. I know dtale
I wanted to deploy my tesseract app to heroku but it is always 'unable to locate package tesseract-ocr' and is unable to deploy it. I was following this tutoria
@app.route('/view', methods=['GET', 'POST']) def view_notifications(): posts = get_notifications() return render_template("frontend/src/view_notificatio
Once the button in my flask template is pressed I'd like it to call a python function defined in app.py that I made to be available to be called within the temp
I am using Flask as service for requests that execute heavy processing tasks. I want to use multi threading. I made a test and opened 100 threads. I'm afraid th
I am trying to dockerize a simple Python-Flask application but I am getting an error while running my container. docker: Error response from daemon: OCI runtim
I'm trying to set up a Webservice that accepts Images via POST methods. I'm using Python Flask as well as Flask-Apispec to create a Swagger documentation. I thu
I'm using a Flask route to call the Meraky python library and trying to redirect the stdout and stderr of each API call to a websocket or eventually a log file,
I'd like to do some unit tests to check my flask app translations. I have tried this piece of code: def test_pt_br(self): with app.test_request_context():
This is my js function for ajax form submit: $('.sendButton').on('click', function(){ $.post( "/send-form", $('#contactForm').serialize()) } This is my f
When using Flask-Script I get an error when importing Manager. I have installed with pip Flask and Flask-Script. How do I fix this? manage.py from flask_script
This question is kind of duplicate but I could not find a solution to it. When I am calling the flask app and passing the JSON data, I am getting the error: "F
ImportError: cannot import name 'create_app' from 'website' from website import create_app app = create_app() if __name__ == '__main__': app.run(debug=Tr
how are you? I have a server on DigitalOcean with Ubuntu 16.04 I am making a Flask Application with uWSGI and Nginx. My files look like: wsgi.py: from flaskap
Right now I am using a flask 3rd party library Flask-Session and I am having no luck getting a session working. When I connect to my site, I get the following e
I'm using Flask's send_file to serve a file at a specific URL. However, the name of the saved file is always the last part of the URL, like download, instead of
I'm currently studying Python by reading the book "Head First Python 2nd Edition" and it is really helpful and well-written, but I think it is a little anachron
I am trying to implement OpenID in Apache Superset. I am using Broadcom CA-SSO as my provider. I found a similar post in Stack Overflow where someone implemente
After getting each application to run on their own you need to specify the port in the application, nginx and gunicorn/service files. I am using AWS with Centos
I am writing some basic tests and have a test failing. def test_new_user_registration(self): self.client.get('/user/register') form = RegistrationForm(