Re: Getting stdout and stderr from subprocess in correct order

2017-03-03 Thread Ben Finney
"Ivan \"Rambius\" Ivanov" writes: > When I run it through subprc.py, I do get standard out and standard > errors streams, but they are separated and not in the order above That's right. You have two entirely distinct streams, they don't attempt to co-ordinate and none of the information in the s

Getting stdout and stderr from subprocess in correct order

2017-03-03 Thread Ivan "Rambius" Ivanov
Dear colleagues, I using subprocess module and I am wondering how I can get the output of the spawned process's stdout and stderr in the right order. Here are my sample programs: $ cat subprc.py import subprocess import sys f = 'hw.py' p = subprocess.run([sys.executable, f], stdout=subprocess.PI

Re: Odd wording it docs for shutil.move?

2017-03-03 Thread eryk sun
On Fri, Mar 3, 2017 at 5:13 PM, Grant Edwards wrote: > At https://docs.python.org/2/library/shutil.html it says: > > shutil.move(src, dst) > > Recursively move a file or directory (src) to another location > (dst). > > [...] > > If the destination is on the current filesystem, the

Re: list of the lists - append after search

2017-03-03 Thread Andrew Zyman
On Thursday, March 2, 2017 at 3:53:25 PM UTC-5, Andrew Zyman wrote: > On Thursday, March 2, 2017 at 3:31:36 PM UTC-5, Jussi Piitulainen wrote: > > Andrew Zyman writes: > > > > > On Thursday, March 2, 2017 at 2:57:02 PM UTC-5, Jussi Piitulainen wrote: > > >> Peter Otten <__pete...@web.de> writes: >

Re: Odd wording it docs for shutil.move?

2017-03-03 Thread Rhodri James
On 03/03/17 17:22, Chris Warrick wrote: On 3 March 2017 at 18:13, Grant Edwards wrote: At https://docs.python.org/2/library/shutil.html it says: shutil.move(src, dst) Recursively move a file or directory (src) to another location (dst). [...] If the destination is on the cu

Re: Odd wording it docs for shutil.move?

2017-03-03 Thread Chris Warrick
On 3 March 2017 at 18:13, Grant Edwards wrote: > At https://docs.python.org/2/library/shutil.html it says: > > shutil.move(src, dst) > > Recursively move a file or directory (src) to another location > (dst). > > [...] > > If the destination is on the current filesystem, then os.r

Odd wording it docs for shutil.move?

2017-03-03 Thread Grant Edwards
At https://docs.python.org/2/library/shutil.html it says: shutil.move(src, dst) Recursively move a file or directory (src) to another location (dst). [...] If the destination is on the current filesystem, then os.rename() is used. Otherwise, src is copied (using shutil.copy

Re: asyncio does not always show the full traceback

2017-03-03 Thread gst
Le mercredi 1 mars 2017 09:25:48 UTC-5, Frank Millman a écrit : > "Frank Millman" wrote in message news:o93vs2$smi$1...@blaine.gmane.org... SNIP > > If you run this as is, it works. > > I added '1/0' at various points, to force an exception. > > If I put it in main() or in aenum(), I do not

EuroPython 2017: Official dates available

2017-03-03 Thread M.-A. Lemburg
We are very happy to officially announce the confirmed dates for EuroPython 2017 in Rimini, Italy: EuroPython 2017: July 9-16 2017 *** http://ep2017.europython.eu/ *** The conference will be held at the Rimini PalaCongressi and structured as follows: * Jul

Re: Insert blob data from one db to other db in oracle

2017-03-03 Thread Murthy Jn
No One don't no ? how to insert data from one table to another table using oracle? -- https://mail.python.org/mailman/listinfo/python-list