fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Problems escaping double and single quotes within run()


From: Gilgamezh
Subject: Re: [Fab-user] Problems escaping double and single quotes within run()
Date: Wed, 16 Jan 2013 18:41:10 -0300
User-agent: Roundcube Webmail/0.8.4


El 2013-01-16 18:23, Tim O'Guin escribió:
On Wed, Jan 16, 2013 at 3:20 PM, Gilgamezh <address@hidden> wrote:
Hi! maybe you can cat de file and then do a local parse with python.
something like this:

pidginConfg = run('cat /path/to/file.conf')

now you have the file in pidginConfig and you can parse it. -->

http://docs.python.org/2/library/xml.etree.elementtree.html#parsing-xml

Thanks for the help! I'm actually reading the ElementTree docs now!


Good! fabric+python rules :)

regards

address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]