Re: [Tutor] seeking beginners tutorial for async

2018-11-19 Thread Mats Wichmann
On 11/18/18 4:50 PM, bob gailer wrote: > I have yet to find a tutorial that helps me understand and apply async! > > The ones I have found are either incomplete, or they wrap some other > service, or they are immediately so complex that I have no hope of > understanding them. > > I did find a use

Re: [Tutor] seeking beginners tutorial for async

2018-11-19 Thread Bob Gailer
> Can you be more specific what you're looking for? For starters a minimal executable program that uses the async keyword. On the JavaScript side this is trivial and easily understood. I did find in the python documentation a hello world program that uses async IO. It helped me understand how t

Re: [Tutor] how to print lines which contain matching words or strings

2018-11-19 Thread Avi Gross
Asad, As others have already pointed out, your request is far from clear. Ignoring the strange use of words, and trying to get the gist of the request, would this be close to what you wanted to say? You have a file you want to open and process a line at a time. You want to select just lines tha

[Tutor] [Python 3] Threads status, join() and Semaphore queue

2018-11-19 Thread Dimitar Ivanov
Hello everyone, I'm having a hard time getting my head around threads so I was hoping someone who has better understanding of their underlying functionality could lend me a helping hand, in particular how threads work with each other when using thread.join() and Semaphore set with maximum value. I

Re: [Tutor] [Python 3] Threads status, join() and Semaphore queue

2018-11-19 Thread Cameron Simpson
On 19Nov2018 23:52, Dimitar Ivanov wrote: I'm having a hard time getting my head around threads so I was hoping someone who has better understanding of their underlying functionality could lend me a helping hand, in particular how threads work with each other when using thread.join() and Semapho