Force refresh of file?

software development


I’m totally new to python and setting up a server to handle these things . . . I uploaded a file and realized I had made some errors, but after uploading a new one the site is still referring to the old, nonexistent file and giving “Web application could not be started errors.”

How can I force the server to read from the new file instead? I’ve tried what I can think of (deleting the .py and .pyc and uploading again, clearing the cache, messing with some touch …/restart.txt and pkill python commands in Terminal) and nothing is working. Any suggestions?