Text file converted to python file and then Execution in Jupyter Notebook

Hello

In the video, we can edit a text file by writing our code and then save it as a .py executable file.

But I want to run that text file, I cannot run through CMD as the image below as it is not taking any command as the server is connected to an online jupyter notebook

Also, I cannot run by jupyter notebook either by selecting it or opening and finding a run button.

So how should we execute that file.

Also as Jupyterthemes are chosen, mentors can reload the page to show us what theme they changed.
When I changed : localhost:8888/tree cannot response because i closed the running server and then wrote the command.
So is there any way to write commands in cmd while the server is connected to Online Jupyter notebook?

Thank You!

Hi @sarthakagg105 you can just open an another fresh command prompt while your jupyter notebook is running thus making you able to execute various cmd commands along side your jupyter notebook or you can open terminal in your jupyter enviroment and can run your command over there it self

Hope this might helps :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Oh! i did not know that we can CMD in jupyter notebook. I will see to it

Hi @sarthakagg105
Once you open your jupyter notebook over there under new drop down menu you will find a way to open a new terminal
Hope this might helps :slight_smile: