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


Groups > comp.lang.python > #26312

Re: docx/lxml

Path csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <kroger@pedrokroger.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'differently': 0.07; 'pil': 0.07; 'python': 0.09; 'mess': 0.09; 'received:internal': 0.09; 'cc:addr:python-list': 0.10; "wouldn't": 0.11; 'suggest': 0.11; 'packages.': 0.15; '__init__.py': 0.16; 'possibly,': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:mail.srv.osa': 0.16; 'received:messagingengine.com': 0.16; 'received:nyi.mail.srv.osa': 0.16; 'received:osa': 0.16; 'received:srv.osa': 0.16; 'wrote:': 0.17; 'instance,': 0.17; 'creates': 0.18; '31,': 0.22; 'setup.': 0.22; 'cheers,': 0.23; 'cc:2**0': 0.23; 'installed': 0.23; 'cc:no real name:2**0': 0.24; 'testing': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'am,': 0.27; 'installing': 0.27; 'subject:/': 0.28; 'environment': 0.29; '(maybe': 0.29; 'received:192.168.1.3': 0.29; 'install': 0.29; '-----': 0.32; 'suggestion': 0.32; 'hi,': 0.33; 'really': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'received:10': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'easy': 0.60; 'header:Message-Id:1': 0.62; 'email addr:gmail.com': 0.63; 'jul': 0.65; '*easy': 0.84; 'isolated': 0.84; 'pain': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; s=smtpout; bh=o93W9VL7iSMlm8TU9vZ4h+vUdnY=; b=WA wXpab70NmEVtsAJt9vQi0rPlafWd1JtQWrI+zYlAuO+EGuhbkouzOATi1yn8OzQR GAVAze2OnVWQj4v92316Lunghtg7YMb4fU7lgVhrAcNxGVX1kFwqGZtrITqMAmDx cCBMA5u1C2LXgQmamxaAh5aandACfwECwZ6svLSIc=
X-Sasl-enc hR1T5joIVEuFLnVkOsW6/bTsIrWKY1QZMz+dMEdj5wvq 1343743226
Content-Type text/plain; charset=us-ascii
Mime-Version 1.0 (Mac OS X Mail 6.0 \(1485\))
Subject Re: docx/lxml
From Pedro Kroger <kroger@pedrokroger.net>
In-Reply-To <40113c57-5978-45a2-b695-8917706fd268@googlegroups.com>
Date Tue, 31 Jul 2012 11:00:25 -0300
Content-Transfer-Encoding quoted-printable
References <40113c57-5978-45a2-b695-8917706fd268@googlegroups.com>
To cyrille.leroux@gmail.com
X-Mailer Apple Mail (2.1485)
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2782.1343743230.4697.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1343743230 news.xs4all.nl 6897 [2001:888:2000:d::a6]:59505
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:26312

Show key headers only | 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