Question about python package numpy

Andrea D'Amore anddam+NOSPAM at brapi.net
Sun Mar 1 16:25:31 EST 2015


On 2015-03-01 20:32:34 +0000, fl said:

> import numpy
> it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting
> code example snippet, such as Cookbook / ParticleFilter, Markov chain etc.

> I don't know how I can access these code examples, because I don't know where
> Enthought Canopy installs these package.

Did you check Canopy's documentation?

Are you sure the examples in cookbook are installed with the package?
You can print numpy.__file__ to know where the package is installed.

At [1] I see "You can get the source code for this tutorial here: 
tandemqueue.py" with link to the file, why don't you get the source 
files for the example from their pages?


[1] http://wiki.scipy.org/Cookbook/Solving_Large_Markov_Chains

-- 
Andrea




More information about the Python-list mailing list