[IPython-User] Load Store'd Data from File

Matt Tobin matt.tobin@utoronto...
Mon Jun 28 10:41:46 CDT 2010


Just a guess, but have you considered making a function with the 
test_var being assigned the value you want?

On 10-06-28 7:50 AM, Richard Parsons wrote:
> Hi - newbie question I'm afraid.
>
> test_var = "something"
> %store test_var > test_file
> quit()
>
> When I re-run IPython, how do I now reload test_var with the stored 
> contents of the file?
>
> I want to do this, but it doesn't work:
>
> %store test_var < test_file
>
> TIA
> Richard
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20100628/5cc32532/attachment.html 


More information about the IPython-User mailing list