Forums

File runs in python console every time I open it?

I'm learning how to make a website with Django and every time I open my views.py file in the file view, a python console window opens as if I hit the >>>Run button. This is the only file that this happens to.

Please let me know if I should include more information. I'm a total beginner at this.

Close the console.

That's.... embarrassing. I didn't see it in recent consoles, but it was still open in the consoles tab. Thank you!

Glad to hear that it worked for you!