[IPython-user] cluster file syntax

Brian Granger bgranger at scu.edu
Thu Mar 16 12:34:25 CST 2006


> In [1]: import pickle
>
> In [2]: cluster =
> [('192.168.0.10',10105),('192.168.0.11',10105),('192.168.0.12',10105),('192.168.0.13',10105)]
>
> In [3]: pickle.dump(cluster,file('test_cluster','w'))
>

But currently, the files must be placed in your ~/.ipython directory
to be detected by the load() method of InteractiveCluster

Cheers,

Brian


>
> Cheers,
>
> f
>
> _______________________________________________
> IPython-user mailing list
> IPython-user at scipy.net
> http://scipy.net/mailman/listinfo/ipython-user
>
> This message scanned for viruses and SPAM at SCU (MGW2)
>


--
Brian Granger
Santa Clara University
ellisonbg at gmail.com




More information about the IPython-user mailing list