Oct-05-2016, 06:34 PM
(Oct-05-2016, 04:50 PM)ATXpython Wrote: I dont have experience with packaging up a module like you suggested.You would just download the module and put it in the same directory as your script that requires it. Then zip the directory and give it to people. They will have the module since you zipped it in with your script. When your scripts imports that module it will import it from the same directory.
I am assuming your scripts are being ran on windows? If linux, you can just download the module from the repos via your script beforehand (of course you could do this in windows too from the source)
Output:metulburr@ubuntu:~$ sudo apt-cache search xlrd
[sudo] password for metulburr:
python-xlrd - extract data from Microsoft Excel spreadsheet files
python-xlwt - module for writing Microsoft Excel spreadsheet files
python3-xlrd - extract data from Microsoft Excel spreadsheet files (Python3 version)
Recommended Tutorials: