Re: Multithreading? How?

2023-05-12 Thread Diego Souza
Hi there, I hope this e-mail is still on time for you. I have implemented this architecture a few times, and they all work fine nowadays. However, your question made me review it and create a small gist. I suggest you create a thread for every output and input connection. This makes it easier to

Re: Do subprocess.PIPE and subprocess.STDOUT sametime

2023-05-12 Thread Chris Angelico
On Sat, 13 May 2023 at 07:21, Horst Koiner wrote: > > Using asyncio for this is a good possibility I was not aware of. > > My best try with asyncio was: > import asyncio > > async def run_command(): > # Create subprocess > process = await asyncio.create_subprocess_exec( >

Re: pip module not found

2023-05-12 Thread Barry
> On 12 May 2023, at 21:59, Thomas Passin wrote: > > On 5/12/2023 2:42 AM, David John wrote: >> Hi, >> I recently have been experiencing issues with the pip installation module. >> I have python version 3.11 installed. I've checked the directory installed >> in the systems variables window

Re: Do subprocess.PIPE and subprocess.STDOUT sametime

2023-05-12 Thread Horst Koiner
Using asyncio for this is a good possibility I was not aware of. My best try with asyncio was: import asyncio async def run_command(): # Create subprocess process = await asyncio.create_subprocess_exec( './test.sh', stdout=asyncio.subprocess.PIPE, # Redirect stdout to a

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss. Kindly assist. It would be useful if you told

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 1:45 PM, Barry wrote: On 12 May 2023, at 18:31, Thomas Passin wrote: On 5/12/2023 11:18 AM, Thomas Passin wrote: On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've

Re: pip module not found

2023-05-12 Thread Barry
> On 12 May 2023, at 18:31, Thomas Passin wrote: > > On 5/12/2023 11:18 AM, Thomas Passin wrote: >>> On 5/12/2023 2:42 AM, David John wrote: >>> Hi, >>> I recently have been experiencing issues with the pip installation module. >>> I have python version 3.11 installed. I've checked the

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 11:18 AM, Thomas Passin wrote: On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss.

Re: pip module not found

2023-05-12 Thread Mats Wichmann
On 5/12/23 00:42, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. How? Please be explicit or nobody can answer your question. -- https://mail.python.org/mailman/listinfo/python-list

pip module not found

2023-05-12 Thread David John
Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss. Kindly assist. Regards, David -- https://mail.python.org/mailman/listinfo/python-list