[Numpy-discussion] What Requires C and what is just python

Paul Anton Letnes paul.anton.letnes@gmail....
Mon Mar 21 03:30:56 CDT 2011


On 20. mars 2011, at 16.08, Ben Smith wrote:

> 
> So, in addition to my computer science work, I'm a PhD student in econ. Right now, the class is using GAUSS for almost everything. This sort of pisses me off because it means people are building libraries of code that become valueless when they graduate (because right now we get GAUSS licenses for free, but it is absurdly expensive later) -- particularly when this is the only language they know.
> 
> So, I had this idea of building some command line tools to do the same things using the most basic pieces of NumPy (arrays, dot products, transpose and inverse -- that's it). And it is going great. My problem however is that I'd like to be able to share these tools but I know I'm opening up a big can of worms where I have to go around building numpy on 75 peoples computers. What I'd like to do is limit myself to just the functions that are implemented in python, package it with py2exe and hand that to anyone that needs it. So, my question, if anyone knows, what's implemented in python and what depends on the c libraries? Is this even possible?

I can testify that on most windows computers python(x,y) will give you everything you need - numpy, scipy, matplotlib, pyqt for GUI design, and much more.

The only problem I ever saw was that some people had problems with $PATH not being set properly on windows. But this was on machines that seemed to be full of other problems.

Oh, and in my experience, it is easier to run python scripts from the generic windows command line than in the ipython shell.

Good luck,
Paul


More information about the NumPy-Discussion mailing list