As the title says, when I have a file called "code.py" in the directory in which I try to launch jupyter notebook, the terminal gives me a series of error messages related to not being able to execute some lines of code in that file. Meanwhile, I get the error message of not being able to connect to the ipykernel in the browser interface. If I rename the file from "code.py" to something else like "test.py", it works.
I have not found any documentation on this but can someone point me such conventions that are not permitted?