Saturday, November 22, 2014

Another integrated Python Environment - Anaconda

I am now using the Anaconda Python integrated package , currently Python 3.4.2.  This environment is available from Continuum Analytics.  The environment contains Spyder, iPython and Python notebooks.  I have found that the Python Notebook environment is a great way to develop code for both research and class notes.  I document code better in Notebooks.  The Notebooks enable you to run code segments separately.  When the code works as you want, you can export the Python code.  It is then a simple matter to comment out the test lines and to end up with the code that you want.

An advantage of this method is that you still have the Notebook, you can use it to remind you of what you did.  It can also be used to teach others about your code.  I am now publishing my code on GitHub.

No comments:

Post a Comment