Python Basics 101 – Part II: Installing iPython Notebook
As you get into Python, you may be looking for new Python IDE’s or looking for a text editor that satisfies your initial concerns; simplicity, effectiveness, and cost are some examples. When you are scouring for the right editor, be sure to consider the following: what will I do without this editor/IDE? Will you be more stressed when you can’t effectively debug your code? Will you be lost without an in-text editor navigation system? All of these are aspects you should consider before dropping $50+ on an IDE. While $50 is a small piece of change in the short-term, if the software you pick up is one that you don’t use, you’ll be setting a precedent in your development career: keep buying technology until something works.
For the new Python developer, PyCharm seems like the best option. IDE’s are always a good option, and for budding developers, IDE’s help when trying to figure out bugs or coding errors. Additionally, PyCharm is a beautifully styled IDE with lots of cross-language support. Plus, the layout and functionality of the IDE is pretty sophisticated, making it both visually and technically appealing. But, PyCharm carries a price tag to complement its excessive features for a new Python developer. While the new Python developer might be able to justify the use of such an IDE, he or she may be thinking that such an IDE is not suitable to his or her respective development needs.
So where does this developer go? There are free alternatives such as Eclipse + PyDev. There is even a PyCharm community edition. These are all acceptable free solutions. But, there is a simple IDE that can easily be installed and implemented using pip (which you hopefully installed). It is called iPython Notebook.
Installing iPython Notebook
Installing the notebook is much easier done than said. Open up Terminal/Command Prompt. If you have pip installed, you should be good to go with installing the notebook. Type the following command into Terminal/Command Prompt.
Done! pip should install all of the iPython notebook dependencies.
Running iPython Notebook
To run iPython Notebook, enter the following into Terminal/Command Prompt.
This will begin the iPython server. If the server is successfully running, a new browser window should open up at the following address: http://localhost:8888/tree
Congratulations, you have successfully installed iPython Notebook! If you have comments or concerns, please leave them below and I’ll get back to you as soon as possible.
Leave a Comment