It works like a charm, thank you!
/Lars
Jean-Michel Pichavant wrote:
> Lars Stavholm wrote:
>> Hi all,
>>
>> has anyone managed to integrate pexpect and logging?
>>
>> I.e., I'd like to be able to pick up the dialog,
>> commands sent and responses
Hi all,
has anyone managed to integrate pexpect and logging?
I.e., I'd like to be able to pick up the dialog,
commands sent and responses received, in my logging.
I know about the pexpect logfile, and I can log things
to stdout or stderr, but I really need to log using the
python logging library.
gaurav kashyap wrote:
> Dear all,
>
> Can u tell me a python program that when executed in a shell
> prompt,opens another shell prompt.
>
> Simply i want to open a shell prompt from a python program.
I think you're looking for:
import os
os.system("/bin/sh")
--
http://mail.python.org/mailman/l
Almar Klein wrote:
> Hi,
> I was going to say "try google", but it seems quite hard to find indeed.
> Use "freeze" for linux and "py2app" for osx.
http://python.net/crew/atuining/cx_Freeze
/L
> I know of a program called gui2exe which is a gui which uses the three
> to compile executables of your
Thank you all for your input.
/Lars
Lars Stavholm wrote:
> Hi All,
>
> I'm new to this list and hoping that this is not off-topic.
> If it is, please point me in the right direction.
>
> I seem to recollect a python module or library for *nix sysadmins,
> but I can
km wrote:
> import os
Thanks, but I'm aware of the standard libraries like os, sys,
commands, and whatnot. I'm looking for a non-standard library
that acts like a wrapper for the unix commands. I have seen it,
I just can't find it again.
/L
> On Sat, Sep 27, 2008 at 1
pabilities
to the python language. It seemed like a lesser known, perhaps new,
python library or module.
Any input or ideas appreciated
/Lars Stavholm
--
http://mail.python.org/mailman/listinfo/python-list