[Tutor] If loop conditions

2016-03-01 Thread Dimitar Ivanov
Hello everyone! First time using this mailing list so please excuse me in advance if this mail is not structured properly. I'm going through a Python course by Google, so far I've gotten to the lists chapter and I've been trying to wrap my head around an exercise all afternoon long, eventually wa

Re: [Tutor] Removing Content from Lines....

2016-03-26 Thread Dimitar Ivanov
Hello everyone, First time using the mailing list to give a suggestion, apologies in advance if it's not appropriate :) Considering you're looking for specific string, I'd recommend maybe looking into the Regular Expressions. You could use something like: #At the top of the file import re #With

[Tutor] Declaring variables

2016-04-07 Thread Dimitar Ivanov
Hello everyone, I have a (hopefully) quick and easy to explain question. I'm currently using MySQLdb module to retrieve some information from a database. In my case, the result that's being yield back is a single line. As far as my understanding goes, MySQLdb function called 'fetchone()' returns

[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-24 Thread Dimitar Ivanov
odify my code using your example and give it another try, I will make sure to let you know if I run into any issues or additional questions. :) Regards, Dimitar On Tue, 20 Nov 2018 at 08:39, Cameron Simpson wrote: > On 19Nov2018 23:52, Dimitar Ivanov wrote: > >I'm having a hard t