TMan
TMan

Reputation: 4122

Numpy and Python

I created a python .py with some sort methods. I'm using numpy so that I can use real arrays. My question is when I go to submit this file to my teacher, is there a dll or something i can include so that he will be able to run the program or will he have to install numpy himself? Is the .py file the only file I should have to commit? Thanks in advance for any tips.

   import numpy as np

Upvotes: 3

Views: 420

Answers (2)

jianpx
jianpx

Reputation: 3330

if you're using *nix(linux or unix) system, you can use this command to let your teacher to install the numpy module : apt-get install python-numpy

Upvotes: 0

Martin Beckett
Martin Beckett

Reputation: 96109

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

Upvotes: 4

Related Questions