Yes, there is a way to configure PyCharm to automatically restart Jupyter whenever there are changes made to the project code.
Here are the steps to follow:
Open the Jupyter notebook in PyCharm.
Click on the "Run" menu in the top menu bar and select "Edit Configurations".
In the "Edit Configurations" window, click on the "+" icon in the top left corner and select "Jupyter Notebook".
In the "Jupyter Notebook" configuration window, enter a name for the configuration and select the project interpreter that you want to use.
Under the "Execution" section, check the box next to "Restart kernel before execution".
Click on "Apply" and then "OK" to save the configuration.
Now, whenever you make changes to your project code and run the Jupyter notebook, the kernel will automatically be restarted before the code is executed. This ensures that any changes you have made are reflected in the notebook.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-04-14 11:00:00 +0000
Seen: 6 times
Last updated: Jun 25 '22
How can I incorporate Blazor Web Assembly into my current .Net Core 6 project through injection?
How do I create an index.html page for the js project in D3 JS?
Where can I find the location of the NuGet packages I have downloaded for my project?
How can ASP.NET be designed using a Bootstrap template?
How can I include a DLL in my Visual Studio project if the Browse option is unavailable?