Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving code
#1
Hi!

I am keen to know if there is a code in python that saves your script automatically (as an ipynb file) after your program is finished running. I am to let the computer run for 2-3 hours, and aftwards I would
like to save program and shut down the computer. I have already found a code to shut down pc.
Thank you.

Best,
mortenvs
Reply
#2
Doesn't a jupyter notebook autosave by default? Do you lose the data in a notebook if you shut down without saving?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  writing and running code in vscode without saving it akbarza 1 398 Jan-11-2024, 02:59 PM
Last Post: deanhystad
  Code Assistance needed in saving the file MithunT 0 822 Oct-09-2022, 03:50 PM
Last Post: MithunT

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020