Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
save a session in idle
#5
(Nov-05-2023, 03:24 PM)deanhystad Wrote: What do you mean by "save this session"?

You can save a program/script file and use the file at a later time. You can save variable values to a file and restore them (json, pickle). I know of no way to save the current state of an interactive python interpreter.

hi
you said:
Quote:save the current state of an interactive python interpreter.
I want this. suppose I am learning Python with idle. in idle I write some functions and variables and import commands and....
I want these for the next time that I continue to learn ( after lunch Smile ). With the turn of the computer, I will lose them. What can I do to have them for the next session of my learning? ( Note: I have turned off the computer)
thanks
Reply


Messages In This Thread
save a session in idle - by akbarza - Nov-05-2023, 08:23 AM
RE: save a session in idle - by Larz60+ - Nov-05-2023, 11:38 AM
RE: save a session in idle - by akbarza - Nov-06-2023, 06:41 AM
RE: save a session in idle - by deanhystad - Nov-05-2023, 03:24 PM
RE: save a session in idle - by akbarza - Nov-06-2023, 06:49 AM
RE: save a session in idle - by snippsat - Nov-06-2023, 08:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to save to multiple locations during save cubangt 1 1,283 Oct-23-2023, 10:16 PM
Last Post: deanhystad
  IDLE not importing pygame (ok outside of IDLE) miner_tom 1 4,185 Sep-14-2018, 07:54 PM
Last Post: Larz60+
  Powershell Session translation to Python; Session code seems to not work Maverick494 1 4,660 Jun-26-2018, 05:16 PM
Last Post: Maverick494
  Python IDLE 3.6.2 on WIn7 vs Pyhton 3 IDLE raspberry djdan_23 5 6,737 Sep-07-2017, 12:51 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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