(redirected from Main.Ipython)
On this page... (hide)
Ipython is an interactive python environment useful for testing out python recipes.
Obtaining ipython:
Ipython can be obtained from: http://ipython.org/download.html . Installation instructions are on that page as well.
Documentation is available at http://ipython.org/ipython-doc/stable/index.html .
Examples
md5
In [43]: import md5
In [44]: mymd5 = md5.md5("wooooooooo")
In [45]: mymd5.hexdigest()
Out[45]: '6e7ad278188d6c0e2d460a0f3111415a'
Reversing a set of binary numbers
In [49]: myBinaryNumber = [1,0,0,1,1,0,1,1,1] In [52]: myBinaryNumber.reverse() In [53]: print myBinaryNumber [1, 1, 1, 0, 1, 1, 0, 0, 1]
| Tags: | Categories: Articles |
Recent Changes |
Printable View |
Page History |
Edit Page
Page last modified on April 16, 2012, at 11:26 AM by tamara