| 1 | initial version |
The xlrd and xlwt python modules are not included in Sage's python, so you'll have to install them. Download the modules (xlrd is here) in .tar.gz form and unpack in a directory:
~/Downloads> tar xvzf xlrd-0.7.1.tar.gz
~/Downloads> cd xlrd-0.7.1
Now, have Sage's python install the module:
~/Downloads/xlrd-0.7.1> mysage -python setup.py install
where "mysage" refers to your sage script, for example "/Users/bob/sage-4.6.1/sage"
| 2 | No.2 Revision |
The xlrd and xlwt python modules are not included in Sage's python, so you'll have to install them. Download the modules (xlrd is here) in .tar.gz form and unpack in a directory:
~/Downloads> tar xvzf -xvzf xlrd-0.7.1.tar.gz
~/Downloads> cd xlrd-0.7.1
Now, have Sage's python install the module:
~/Downloads/xlrd-0.7.1> mysage -python setup.py install
where "mysage" refers to your sage script, for example "/Users/bob/sage-4.6.1/sage""/Users/bob/sage-4.6.1/sage".
In Sage you can now import and use xlrd.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.