Sometime Python file not working on live server

i had checked but it not responding

let me know which environment you are using so based on that I will let you know about exact answer.

developer mode @Harsh_Mehta

are u here @Harsh_Mehta

In development environment no need to do any command like supervisor. Pyc files generate base don your request.

ok @Harsh_Mehta what we have to do now for solving my problem

for me, I ran the following commands to resolve the issue.

$ bench --site mysite.com --migrate
$ bench --site all clear-cache
$ sudo supervisorctl reload
$ sudo service nginx restart