Re: [ANN] Python Brain Teasers Book is Out

2020-05-04 Thread Abdur-Rahmaan Janhangeer
Greetings, Would be grateful if you could post it to python-authors also: https://mail.python.org/mailman/listinfo/python-authors Thanks! Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com | github Mauritius On Tue

[ANN] Python Brain Teasers Book is Out

2020-05-04 Thread Miki Tebeka
Hi All, I'm excited that my book "Python Brain Teasers: 30 brain teasers to tickle your mind and help become a better developer." is out. You can grab is from https://gum.co/iIQT (PDF & ePUB). Let me know how many teasers did you get right. If you're curious, a sample of the book, including th

Re: Consumer trait recognition

2020-05-04 Thread Jason Friedman
> > I constructed a lexicon for words that show how different words are linked > to consumer traits and motivations (e.g. Achievement and Power Motivation). > Now I have collected a large amount of online customer reviews and want to > match each review with the word definitions of the consumer tra

Re: phyton hata

2020-05-04 Thread Michael Torrie
On 5/4/20 4:15 AM, HÜSEYİN KOÇ wrote: > Phyton 3.8.2 versiyonu bilgisayarıma indirdim fakat sorunlar ile > karşılaştınız diyerek hata veriyor > > > Windows 10 için Posta ile > gönderildi > Please ensure Windows is up to date using Windows Update

Re: Multiprocessing vs. concurrent.futures, Linux vs. Windows

2020-05-04 Thread John Ladasky
On Monday, May 4, 2020 at 4:09:53 PM UTC-7, Terry Reedy wrote: > On 5/4/2020 3:26 PM, John Ladasky wrote: > > Several years ago I built an application using multiprocessing. It only > > needed to work in Linux. I got it working fine. At the time, > > concurrent.futures did not exist. > > > >

Re: phyton hata

2020-05-04 Thread Souvik Dutta
ne hatası alıyorsun Souvik flutter dev On Tue, May 5, 2020, 1:28 AM HÜSEYİN KOÇ wrote: > Phyton 3.8.2 versiyonu bilgisayarıma indirdim fakat sorunlar ile > karşılaştınız diyerek hata veriyor > > > Windows 10 için Posta ile > gönderildi > > -- > ht

Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread ozstar1
On Tuesday, 5 May 2020 01:35:42 UTC+10, David Raymond wrote: > Not necessarily the cause of your problem, but if you're going to compare > dates it should be as objects, or as text as year-month-day. Here you're > comparing dates as text in day-month-year format. So January first comes > b

Re: Multiprocessing vs. concurrent.futures, Linux vs. Windows

2020-05-04 Thread Terry Reedy
On 5/4/2020 3:26 PM, John Ladasky wrote: Several years ago I built an application using multiprocessing. It only needed to work in Linux. I got it working fine. At the time, concurrent.futures did not exist. My current project is an application which includes a PyQt5 GUI, and a live video

Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread ozstar1
Many thanks for your help. It is really appreciated. I see both your points and maybe this is where my problems lays. If for example it starts (and it does) at 9.30am then the print is.. streaming It is supposed to wait for the 40 minutes, stop then print this.. Waiting for the next str

Re: naN values

2020-05-04 Thread Peter Otten
J Conrado wrote: > I have a 2d array and I would how can I replace NaN values for example > with - value or other value. >>> a array([[ nan, 1., 2., 3.], [ 4., 5., 6., 7.], [ 8., 9., 10., nan]]) >>> a[numpy.isnan(a)] = 42 >>> a array([[ 42., 1., 2., 3.],

naN values

2020-05-04 Thread J Conrado
Hi, I have a 2d array and I would  how can I replace NaN values for example with - value or other value. Thank, Conrado -- https://mail.python.org/mailman/listinfo/python-list

phyton hata

2020-05-04 Thread HÜSEYİN KOÇ
Phyton 3.8.2 versiyonu bilgisayarıma indirdim fakat sorunlar ile karşılaştınız diyerek hata veriyor Windows 10 için Posta ile gönderildi -- https://mail.python.org/mailman/listinfo/python-list

Multiprocessing vs. concurrent.futures, Linux vs. Windows

2020-05-04 Thread John Ladasky
Several years ago I built an application using multiprocessing. It only needed to work in Linux. I got it working fine. At the time, concurrent.futures did not exist. My current project is an application which includes a PyQt5 GUI, and a live video feed with some real-time image processing.

Re: Problem with doctest

2020-05-04 Thread Dieter Maurer
ast wrote at 2020-5-4 15:20 +0200: >doctest of the sample function funct() doesn't works >because flag used by funct() is the one defined in >first line "flag = True" and not the one in the >doctest code ">>> flag = False". > >Any work around known ? > > >flag = True # <- funct() alway

RE: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread David Raymond
Not necessarily the cause of your problem, but if you're going to compare dates it should be as objects, or as text as year-month-day. Here you're comparing dates as text in day-month-year format. So January first comes before May 4th 2020 "01-01-" < "04-05-2020" ... 04-05-2020 09:30:

Re: Problem with doctest

2020-05-04 Thread Peter Otten
Unknown wrote: > Hello > > doctest of the sample function funct() doesn't works > because flag used by funct() is the one defined in > first line "flag = True" and not the one in the > doctest code ">>> flag = False". > > Any work around known ? You can import the module where funct() is define

Problem with doctest

2020-05-04 Thread ast
Hello doctest of the sample function funct() doesn't works because flag used by funct() is the one defined in first line "flag = True" and not the one in the doctest code ">>> flag = False". Any work around known ? flag = True # <- funct() always use this one def funct(): """