Numpy and Python

I created python.py with some sorting methods. I am using numpy to use real arrays. My question is when I send this file to my teacher, is there a dll or something I can include so that it can run the program, or should it install numpy itself? Is the .py file the only file I would have to commit? Thanks in advance for any advice.

   import numpy as np

      

+3


source to share


2 answers


They need to install numpy from http://sourceforge.net/projects/numpy/files/ - just list it as a requirement in the comments



+4


source


If you are using a * nix system (linux or unix) you can use this command so that your teacher can install the numpy module: apt-get install python-numpy



0


source







All Articles