U mean copying the python code to jupyter cell?
If that’s what u mean then no you don’t need to copy the python code to the cell
If u want to run code, what u need to do is to run on the terminal with python.
If u are familiar with Linux terminal or cmd, all u need to to is to navigate to the dir where the code is like this !cd dir then u run the command !python code.py.
Don’t forget to add the ‘!’ b4 a terminal command else the command will attempt to run as a python code which will throw an error.
If u want to edit your code, then all u need to do is click on the python file on the left panel and a text editing plane will open on the right where u can edit the code.
Hope this helps you