Re: [Tutor] Python Optical Character Recognition

2015-09-30 Thread Stefan Behnel
Sebastian Cheung via Tutor schrieb am 30.09.2015 um 10:55: > How to read a jpg or png file into python and extract text thanks. I > would imagine getting small symbols like ; or , to be difficult? That depends entirely on the OCR engine. And you won't normally get in touch with that very deeply.

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 09:12:20AM +0300, Michel Guirguis wrote: > Good afternoon, > > How to calculate the cumulative normal distribution function CND in > order to use this figure to calculate the call option based on the > Black and Scholes model. > > >>> from math import* > >>> def CND(X):

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 09:12:20AM +0300, Michel Guirguis wrote: > Good afternoon, > > How to calculate the cumulative normal distribution function CND in > order to use this figure to calculate the call option based on the > Black and Scholes model. > > >>> from math import* > >>> def CND(X):

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Steven D'Aprano
On Wed, Sep 30, 2015 at 11:13:04AM +0200, Laura Creighton wrote: > In a message of Wed, 30 Sep 2015 09:12:20 +0300, Michel Guirguis writes: > >Good afternoon, > > > >How to calculate the cumulative normal distribution function CND in > >order to use this figure to calculate the call option based o

[Tutor] Python Optical Character Recognition

2015-09-30 Thread Sebastian Cheung via Tutor
How to read a jpg or png file into python and extract text thanks. I would imagine getting small symbols like ; or , to be difficult? Any good framework like this? Seb Sent from my iPhone ___ Tutor maillist - Tutor@python.org To unsubscribe or cha

Re: [Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Laura Creighton
In a message of Wed, 30 Sep 2015 09:12:20 +0300, Michel Guirguis writes: >Good afternoon, > >How to calculate the cumulative normal distribution function CND in order to >use this figure to calculate the call option based on the Black and Scholes >model. The easy way is to install scipy. Then y

[Tutor] How to calculate the cumulative normal distribution

2015-09-30 Thread Michel Guirguis
Good afternoon, How to calculate the cumulative normal distribution function CND in order to use this figure to calculate the call option based on the Black and Scholes model. >>> from math import* >>> def CND(X): m = abs(X) [a1,a2,a3,a4,a5]=(0.31938153,-0.356563782,1.781477937