Re: Please Help

2018-01-26 Thread Gary Herron
On 01/26/2018 08:33 PM, mohammedfaraz...@gmail.com wrote: import numpy as np x=np.unit8([250) print(x) y=np.unit8([10]) print(y) z=x+y print(z) output [250] [10] [4] My question how is z [4] Despite all the typos in your post, you appear to be doing 8 bit unsigned arithmetic.  Do you kno

Re: Please Help

2018-01-26 Thread jladasky
Please copy and paste the exact code you are running. The code you show has several syntax errors, and would not execute at all. Now, I think that I can read through your errors anyway, so let me ask you a question: what is the largest possible value that can be represented with an unsigned 8-

Please Help

2018-01-26 Thread mohammedfarazali
import numpy as np x=np.unit8([250) print(x) y=np.unit8([10]) print(y) z=x+y print(z) output [250] [10] [4] My question how is z [4] -- https://mail.python.org/mailman/listinfo/python-list

Doubt in line_profiler documentation

2018-01-26 Thread Abhiram R
​I'm having trouble understanding something in the ​documentation of https://github.com/rkern/line_profiler The definition for the time column says - "Time: The total amount of time spent executing the line in the timer's units. In the header information before the tables, you will see a line 'Ti

MailingLogger 4.0.0 Released!

2018-01-26 Thread Chris Withers
Only 4 years later than planned, I'm pleased to announce a new release of MailingLogger... Mailinglogger provides two handlers for the standard python logging framework that enable log entries to be emailed either as the entries are logged or as a summary at the end of the running process. The

Re: How to diagnose this, fails on 3.6.3, works on 3.5.2?

2018-01-26 Thread Chris Green
Peter Otten <__pete...@web.de> wrote: > Chris Green wrote: > > > I have a fairly simple little python program to automate starting an > > editor on a wiki page. It works fine on the system where I wrote it > > (xubuntu 16.04, python 3 version 3.5.2) but it comes up with the > > following error on