Jon Bowlas wrote:
> Here's my script:
>
> results = context.module_retriever().tuples() # call to ZSQLMethod
> converted = []
> for result in results:
>result = list(result) # make a list from the tuple
>for i in range(len(result)):
> # for each element in the listified tuple, make de
> Someone suggested using curses, but that does crazy things with my
> output, and leaves the terminal unusable after the program closes.
It's very good suggestion but you should use also initscr
and endwin functions.
Regards,
Rob
--
http://mail.python.org/mailman/listinfo/python-list
AndyL wrote:
> Hi,
>
> What would by a python equivalent of following shell program:
>
> #!/bin/sh
>
> prog1 > file1 &
> prog2 > file2 &
>
>
> As you see, I need to spawn a few processes and redirect stdout to some
> files.
For example :
--cut here--