I should not have been so quick to post that reply - I just tried it, but I still cannot run code without saving it first. This is also the case in scripts that have been loaded from a file, then modified in the editor without saving.
Cheers, Peter On Tuesday, March 14, 2017 at 2:18:32 PM UTC, Carlos Córdoba wrote: > > Hi, > > You can deactivate this behavior by going to > > Preferences > Editor > Advanced settings > Run > > and turning off this option > > Save all files before running script > > Cheers, > Carlos > > El 14/03/17 a las 06:07, Peter Watson escribió: > > Hello, > > Sometimes I want to just write out a few lines of code and execute them, > without saving them to a file. Spyder insists that I save before running > the file - would it be possible to let it run what's in the editor without > saving i.e. do the equivalent of selecting all the lines in a file and > running the selection? > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to <javascript:>[email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
