O'Reilly logo

NumPy Cookbook - Second Edition by Ivan Idris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the NumPy code in a PythonAnywhere web console

In Chapter 1, Winding Along with IPython, we already saw a PythonAnywhere console in action, without having an account. This recipe will require you to have an account, but don't worry—it's free, at least if you don't need too many resources.

Signing up is a pretty straightforward process and will not be covered here. NumPy has already been installed along with a long list of other Python software. For a complete list, see https://www.pythonanywhere.com/batteries_included/.

We will set up a simple script that gets price data from Google Finance every minute, and performs simple statistics with the prices using NumPy.

How to do it...

Once we have signed up, we can log in and take a look at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required