This is about a feature suggestion regarding having the ability to have
parallel generators. Currently you can have generators and iterators that can
yield a single value. or a collection of values (still a single value). But
what if you could yield to multiple objects. In a sense build multi
ooks like those line coloring scape sequences for bash.
Ismael
--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.
--
http://mail.python.org/mailman/listinfo/python-list
> http://code.google.com/p/psutil/#Process_management
>
> Christian
>
> --
> http://mail.python.org/mailman/listinfo/python-list
Unfortunately I'm not allowed to install 3rd party SW unless it's
absolutely necessary, but thanks for sharing, I'll have a look at the
2012/9/19 Ian Kelly :
> On Wed, Sep 19, 2012 at 2:36 PM, Ismael Farfán wrote:
>> It seems like I can use os.fstat to find out if a fd exists and also
>> get it's type and mode (I'm getting some pipes too : )
>
> Sure, because files and pipes both use the file des
2012/9/19 Ismael Farfán :
> Hello list
>
> From man 2 EXECVE
> "By default, file descriptors remain open across an execve()"
>
> And from man 2 FCNTL
> "Record locks are... preserved across an execve(2)."
>
> So the question:
> * If I execve a pyth
tem ("ssh remoteuser@remote python remote.py arg1 arg2 arg3")
>
> This worked, but if the arguments i tried to pass, had spaces, i was not able
> to 'escape' the spaces.
How about something like this:
os.system ( 'ssh remoteuser@remote python remote.py "arg
expect to get (at
least) std(in/out/err).
If more information is needed in order to help me, please let me know.
Cheers
Ismael
--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone
Perl and what happens? the same problem...
Thanks for all.
Best regards.
Tim Golden wrote:
> [ismael]
>
> | I have some problems to get the the permissions on windows. I
> | use a simple code that run perfectly in UNIX but give me wrong
> | information on Windows. I found th
Hi all
I have some problems to get the the permissions on windows. I use a simple
code that run perfectly in UNIX but give me wrong information on Windows. I
found this code searching by google:
import os
import stat
print os.stat('fichero.txt')
st = os.stat('fichero.txt')
mode = st[stat.ST_MOD