Python import module (xlwt) from archive?

All setup. Py typically does with any pure-Python package is copy files into a standard place and compile the py files to pyc I can't imagine why your employer would regard that as (nasty) third-party software, but the source of the package is OK, your IDE is OK, Python itself is OK, etc Options: (1) Copy the xlwt directory from a source distribution to somewhere that's listed in sys. Path (2) Make a ZIP file xlwt.

Zip containing the contents of the xlwt directory and copy it to ditto (3) As (2) but compile the . Py files to . Pyc first If somebody points out that the above involves error-prone manual steps, you can: (a) write a script to do that or (b) copy setup.Py change its name, pretend that you wrote it yourself, use it.

All setup. Py typically does with any pure-Python package is copy files into a standard place and compile the . Py files to .pyc.

I can't imagine why your employer would regard that as (nasty) third-party software, but the source of the package is OK, your IDE is OK, Python itself is OK, etc ... Options: (1) Copy the xlwt directory from a source distribution to somewhere that's listed in sys. Path (2) Make a ZIP file xlwt. Zip containing the contents of the xlwt directory and copy it to ditto.(3) As (2) but compile the .

Py files to . Pyc first. If somebody points out that the above involves error-prone manual steps, you can: (a) write a script to do that or (b) copy setup.Py, change its name, pretend that you wrote it yourself, use it, ...

Unless I am misunderstanding the question you should be able to obtain the source archive and simply copy the "xlwt" directory to the same directory as your script and it should be importable from the local directory.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions