On Wednesday, 26 July 2017 16:27:24 UTC+2, Almar Klein  wrote:
> So you’ve got it working?
>  
> 
> From: [email protected]
> Sent: 26 July 2017 16:04
> To: Pyzo
> Cc: [email protected]
> Subject: Re: [Pyzo] IPython autoreload (and/or reload module) not 
> workingwhenrunning lines or file
>  
> On Wednesday, 26 July 2017 15:56:55 UTC+2, Almar Klein  wrote:
> > Autoreload does not work by default. You’ll need to tell IPython to enable 
> > it, I think. And then it only works for running as script. Have a look at 
> > https://github.com/pyzo/pyzo/pull/466. Let me know if this helps.
> >  
> > Cheers,
> >   Almar
> >  
> > 
> > From: M00ra
> > Sent: 25 July 2017 21:29
> > To: Pyzo
> > Subject: [Pyzo] IPython autoreload (and/or reload module) not working 
> > whenrunning lines or file
> >  
> > Hi, I'm a happy Pyzo user, I find it very useful when it comes to Python 
> > for Data Science.
> >  
> > I just have one problem: when I run a set of code lines via select + F9 or 
> > when I right click on the editor tab and click "Run file" the autoreload 
> > IPython feature or the "normal" Python reload module do not work. I 
> > explained the problem in this Stack Overflow question: 
> > https://stackoverflow.com/questions/45301335/python-reload-and-ipython-autoreload-as-well-is-not-working
> >  (check also my answer). Why does this happen? Is it a bug or is it 
> > supposed to work this way?
> >  
> > Thanks!
> >  
> > -- 
> > 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].
> > For more options, visit https://groups.google.com/d/optout.
> >  
>  
> Hi, thanks for the reply. Yes I activated it, good to know that it works only 
> when running as a script. I was trying to have it work also when selecting a 
> bunch of lines and pressing F9.
>  
> Bests,
> Marco.
>  
> -- 
> 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].
> For more options, visit https://groups.google.com/d/optout.
>  

Well... yes, thanks. In the sense that now I know that the autoreload function 
does not work when you select a group of lines and press F9, but you have to 
copy and paste them in the editor. My problem arose from the fact that I was 
running lines via F9 and it didn't reload the modules I modified.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to