[SciPy-user] Newbie and Old matlab user

Noel O'Boyle noel.oboyle2 at mail.dcu.ie
Thu Oct 13 04:06:48 CDT 2005


That's true and it is a general problem I think.

Try "rm source2.pyc" before the run statement. (I think you can use bash
commands in ipython). This will cause the .pyc to be recreated from
the .py source.

Regards
Noel

On Thu, 2005-10-13 at 11:00 +0200, Samuel GARCIA wrote:
> hello,
> I am a newbie
> I program with matlab and I try to change for scipy/ipython/pylab.
> 
> A question :
> 
> I am have 2 file source1.py and source2.py,
> in source1.py there is :
> from source2 import *
> and source1 use source2 functions
> 
> Then in ipython console, with the command
> run source1
> this execute my code.
> 
> My problem is when I edit source1 and source2, run command take in
> account the modification in source1py,
> but don't take in account in the modofiction in source2.py
> 
> Sorry, for this simple question.
> 
> samuel
> 



More information about the SciPy-user mailing list