Re: Parallel(?) programming with python

2022-08-15 Thread Andreas Croci
, that are unfortunately about to end. Thanks again, Community. On 08.08.22 12:47, Andreas Croci wrote: tI would like to write a program, that reads from the network a fixed amount of bytes and appends them to a list. This should happen once a second. Another part of the program should take the list, as it has

Re: Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
Thank you for your reply. On 08.08.22 14:55, Julio Di Egidio wrote: Concurrent programming is quite difficult, plus you better think in terms of queues than shared data... Do you mean queues in the sense of deque (the data structure)? I ask because I can see the advantage there when I try

Re: Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
Thanks for your reply. On 08.08.22 13:20, Stefan Ram wrote: Yes, but this is difficult. If you ask this question here, you might not be ready for this. Indeed. I haven't learned it yet myself, but nevertheless tried to write a small example program quickly, which might still

Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
tI would like to write a program, that reads from the network a fixed amount of bytes and appends them to a list. This should happen once a second. Another part of the program should take the list, as it has been filled so far, every 6 hours or so, and do some computations on the data (a