Exactly. Those mean "run this code in the current interpreter". Ctr shift E means run as script, and then it matters that the file us uptodate.
Can you change the subject? Not sure. Otherwise mentioning it is fine :) On Sat, Jul 20, 2019, at 15:55, [email protected] wrote: > Bonjour > > I've found that only 'Ctrl+Shift+E' does save the file, the other ways to run > the script (F5, Ctrl+E, Ctrl+return) don't. > > Thks > > Dom > > PS : subject closed as I'm concerned = how to show that status on the thread? > > > Le dimanche 14 juillet 2019 20:13:06 UTC+2, Almar Klein a écrit : >> Aha, I see your point. Though I dont think it's good practice to rely on >> not-saving to protect an earlier version :) >> >> You could make a quick copy of the current version of a file. Or better, >> consider using Git, so that you have the full history of your code, and have >> it backed up at e.g. Github.com as well. >> >> Regards, >> Almar >> >> On Sun, Jul 14, 2019, at 18:42, [email protected] wrote: >> > Le samedi 13 juillet 2019 23:56:44 UTC+2, Almar Klein a écrit : >> > > Hi Dom, >> > > >> > > No, you cannot influence the automatic saving. The file is saved when >> > > you run it as a script. This is simply needed so that the interpreter >> > > takes the correct version. If you don't want this, run it normally >> > > (interactive mode). >> > > >> > > Perhaps you can explain some more why you don't like it to happen - >> > > there might be another solution or slight adjustment of your workflow >> > > that will also help. >> > > >> > > - Almar >> > > >> > > si On Sat, Jul 13, 2019, at 23:37, [email protected] wrote: >> > > > Bonjour >> > > > >> > > > Is there a setting so that a script will not automatically be saved >> > > > after being modified? >> > > > >> > > > I cannot see if the saving occurs at launch of the script or at >> > > > closing >> > > > of the window/tab. >> > > > >> > > > Thks in advance, >> > > > >> > > > Dom >> > > > >> > > > -- >> > > > You received this message because you are subscribed to the Google >> > > > Groups "Pyzo" group. >> > > > To unsubscribe from this group and stop receiving emails from it, send >> > > > an email to [email protected]. >> > > > To view this discussion on the web, visit >> > > > https://groups.google.com/d/msgid/pyzo/fbcc9c6b-d742-4bb0-aca4-7b37c288870a%40googlegroups.com. >> > > > >> > > > For more options, visit https://groups.google.com/d/optout. >> > > > >> > >> > Thks >> > >> > When I modifiy a script, I want to run it to see the effect of the >> > modification but, as long as I'm not satisfied with the modification, I >> > don't want to loose the 'original' script, that is I want the script to >> > be saved only when I'm done. >> > Maybe there could be a backup fonction at the opening of a script >> > (again, to keep the last version before modification). >> > >> > I have to look at the interactive mode (not sure what it is exactly). >> > >> > Dom >> > >> > (Note : I'm using Pyscripter, thus my knowledge of an IDE's >> > functionning is biaised by this usage) >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Pyzo" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to [email protected]. >> > To view this discussion on the web, visit >> > https://groups.google.com/d/msgid/pyzo/81beafa0-c039-4030-befd-fb9bd9f2af54%40googlegroups.com. >> > >> > For more options, visit https://groups.google.com/d/optout. >> > > > -- > You received this message because you are subscribed to the Google Groups > "Pyzo" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/pyzo/8608dd67-fffd-4dd2-814c-1ebd8c172543%40googlegroups.com > > <https://groups.google.com/d/msgid/pyzo/8608dd67-fffd-4dd2-814c-1ebd8c172543%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Pyzo" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/pyzo/5daa568b-724b-4265-821e-ca2a49a2bcbc%40www.fastmail.com.
