If the cell contains plot commands, the plots will be shown inline once executed:Īs in Maple, it’s possible to create a cell which contains pure text to explain what is being done. ipython will then print the output below, as though the text was typed in ipython:Īutomagic commands will work as well. A cell may be executed by focusing on the cell, then pressing Ctrl+Enter. Code entered in cells is automatically syntax-highlighted. You can create a new cell by double clicking in a white area below the current cells. Ipython will open up a web browser and display a list of notebooks, like so:Ĭreate or open an existing notebook, and you will be treated with an interactive interface similar to that of Mathematica, Maple or Sage: However, you probably want to open it with the flags ipython notebook -pylab -inline for integration with matplotlib. The ipython Notebook interface can be started from the command line via ipython notebook (requires ipython 0.12 or better). In addition, there is an extension to ipython that will reload modules anytime they are changed, which is very useful when working on larger projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |