f a list.
And there is really no way to properly parse because some options
have values and others are simply flags.
Thanks,
Michael
On May 13, 2007, at 2:17 PM, Steven Howe wrote:
Michael Williams wrote:
Hi All,
I've recently seen the "subprocess" module and am rather c
Hi All,
I've recently seen the "subprocess" module and am rather confused by
it's requirements. Is it not possible to execute an entire string
without having to break them up into a list of arguments? For
instance, I'd much rather do the following:
subprocess.call("ls -al | grep -i test"
If you're on a Mac, I'd recommend TextWrangler (http://
www.barebones.com/products/textwrangler/) hands down.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,I would possibly look into using Pexpect (http://pexpect.sourceforge.net/) and the python "time" module for things of this nature. It gives you a bit more granular control over what happens when.Regards,MichaelOn Feb 5, 2006, at 2:57 PM, [EMAIL PROTECTED] wrote:From: Rick Spencer <[EMAIL PRO
If you just want to get into it and use it, I'd recommend the following: http://uche.ogbuji.net/uche.ogbuji.net/tech/4suite/amara/It requires the installation of the 4Suite module as well, but it's well worth it. I uses data binding techniques to convert your document into a large tree of named XM
You may check out the http://pexpect.sourceforge.net/ module. This gives you pretty good control over running processes. It even allows you to "interact" with them.Regards,MichaelOn Nov 28, 2005, at 4:00 PM, [EMAIL PROTECTED] wrote:From: Glen <[EMAIL PROTECTED]> Date: November 28, 2005 2:10:05 P
Is there any way to FORCE freeze to import all necessary modules no
matter what? I have noticed that a few 3rd party modules simply
don't get included in a "compiled" bundle. More specifically,
"PEXPECT", and some of the required "AMARA" xml modules aren't
included when you freeze a pyth
Thanks, Heiko, I'll give this a try. In the meantime, I'll try to explain what exactly I mean.Basically, I want the ability to reference a variable just as I am able to set a variable (or attribute) on the fly. For instance, say the user has the following list in a text file: [butter, cream, eggs
Bruno,Thanks, but the whole reason I need it is to create objects in the tree on the fly. Every implementation I've seen of Element tree manually assigns values to the nodes and manually places them. All I care about is that any tags they have are in my list of "valid_tags". Otherwise they can b
I would RTM, but I'm not sure exactly what to look for. Basically, I
need to be able to call a variable dynamically. Meaning something
like the following:
- I don't want to say OBJECT.VAR but rather
OBJECT.
("string") and have it retrieve the var
I'd say Ubuntu. It has one of the most intuitive package management systems, and manual installation of software seems to work very well.On Dec 5, 2005, at 2:00 AM, [EMAIL PROTECTED] wrote:From: "Mike C. Fletcher" <[EMAIL PROTECTED]> Date: December 5, 2005 12:56:13 AM EST To: python-list@python.or
Hi All,
I'm looking for a quality Python XML implementation. All of the DOM
and SAX implementations I've come across so far are rather
convoluted. Are there any quality implementations that will (after
parsing the XML) return an object that is accessible by name? Such as
the following:
Hi all,
I'm having an issue with environment variables and spawned commands.
Specifically, I'm using "eval `ssh-agent`" and "ssh-add". My
question is, how do I force the environmental variables set by one
'popen' or 'pexpect' to propagate throughout the entire Python
session so that any
Can anyone explain why "freeze.py" will make binaries with the std
modules fine, however, when using 3rd party modules (Pexpect in
particular) it requires the target system to actually have it installed?
Thanks in advance,
Mike
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 22, 2005, at 1:16 PM, [EMAIL PROTECTED] wrote:Michael Williams wrote: Hi All, Can anyone explain how to both spawn processes from PYTHON and acquire their process IDs or a handle to them for use later? I'd also like to acquire the stdout of each spawned process. Google dead today? Well,
Hi All,
Can anyone explain how to both spawn processes from PYTHON and
acquire their process IDs or a handle to them for use later? I'd
also like to acquire the stdout of each spawned process.
Regards,
Mike
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo