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

Ville M. Vainio vivainio@gmail....
Thu Jul 1 05:28:49 CDT 2010


On linux:

test_var = !cat test_file

On Mon, Jun 28, 2010 at 2:50 PM, Richard Parsons
<richard.lee.parsons@gmail.com> 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
>
>



-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-User mailing list