Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26312

Re: docx/lxml

Subject Re: docx/lxml
From Pedro Kroger <kroger@pedrokroger.net>
Date 2012-07-31 11:00 -0300
References <40113c57-5978-45a2-b695-8917706fd268@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2782.1343743230.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Jul 31, 2012, at 10:36 AM, cyrille.leroux@gmail.com wrote:

> - Do you know any *easy to use*, *easy to deploy* package to generate ".doc like" documents ?
> - Do you have any suggestion to do it differently (maybe with native packages ?)
> 
> - As a python newby, I don't understand why you have to go through the pain of installing packages since they should be able to work with just the __init__.py files ? 
> 
> Regards,
> 
> Cyrille

Hi,

May I suggest you use pip and, possibly, virtualenv?
pip makes it easy to install Python packages while virtualenv creates an isolated Python environment

For instance, I just installed docx and its dependencies with:

pip install docx lxml datutils PIL

And I did that inside a testing virtualenv, so I wouldn't mess up my Python setup.

pip and virtualenv make it really easy and painless to install Python packages.

Cheers,

Pedro
-----
http://pedrokroger.net
http://musicforgeeksandnerds.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

docx/lxml cyrille.leroux@gmail.com - 2012-07-31 06:36 -0700
  Re: docx/lxml Pedro Kroger <kroger@pedrokroger.net> - 2012-07-31 11:00 -0300
    Re: docx/lxml Cyrille Leroux <cyrille.leroux@gmail.com> - 2012-07-31 08:01 -0700
    Re: docx/lxml Cyrille Leroux <cyrille.leroux@gmail.com> - 2012-07-31 08:01 -0700
      Re: docx/lxml Stefan Behnel <stefan_ml@behnel.de> - 2012-07-31 17:13 +0200
        Re: docx/lxml Cyrille Leroux <cyrille.leroux@gmail.com> - 2012-07-31 08:51 -0700
        Re: docx/lxml Cyrille Leroux <cyrille.leroux@gmail.com> - 2012-07-31 08:51 -0700

csiph-web