[IPython-user] Using variables created in script

Scott Sinclair scott.sinclair.za@gmail....
Thu Mar 18 00:28:17 CDT 2010


>On 17 March 2010 23:35, lixo1 <lixo1@hotmail.fr> wrote:
> I would like to know if there is some way to get created variables in a
> script and put it automatically in the workspace, something similar to
> Matlab.

I think using '%run your-script.py' at the IPython prompt does what
you are asking for. The variables created in the script will be
available in IPython afterwards.

Cheers,
Scott


More information about the IPython-user mailing list