1-0.95

2014-07-01 Thread Pedro Izecksohn
pedro@microboard:~$ /usr/bin/python3 Python 3.3.2+ (default, Feb 28 2014, 00:52:16) [GCC 4.8.1] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 1-0.95 0.050044 >>>    How to get 0.05 as result?   bc has scale=2 . Has Python some similar feature? -

Re: Lines on a tkinter.Canvas

2014-06-12 Thread Pedro Izecksohn
- Original Message - > From: Gregory Ewing > To: python-list@python.org > Cc: > Sent: Thursday, June 12, 2014 8:38 AM > Subject: Re: Lines on a tkinter.Canvas > > Pedro Izecksohn wrote: >> The Canvas' method create_line turns on at least 2 pixels. B

Re: Lines on a tkinter.Canvas

2014-06-12 Thread Pedro Izecksohn
- Original Message - > From: Gregory Ewing > To: python-list@python.org > Sent: Thursday, June 12, 2014 8:38 AM > Subject: Re: Lines on a tkinter.Canvas > > Pedro Izecksohn wrote: >> The Canvas' method create_line turns on at least 2 pixels. But I want

Re: Lines on a tkinter.Canvas

2014-06-12 Thread Pedro Izecksohn
To: python-list@python.org > Sent: Thursday, June 12, 2014 4:02 AM > Subject: Re: Lines on a tkinter.Canvas > > Pedro Izecksohn wrote: > >> The code available from: >> http://izecksohn.com/pedro/python/canvas/testing.py >> draws 2 horizontal lines on a Canvas.

Lines on a tkinter.Canvas

2014-06-11 Thread Pedro Izecksohn
  The code available from: http://izecksohn.com/pedro/python/canvas/testing.py   draws 2 horizontal lines on a Canvas. Why the 2 lines differ on thickness and length?   The Canvas' method create_line turns on at least 2 pixels. But I want to turn on many single pixels on a Canvas. How should I d

Proposal of an API to deal with fingerprints on Python

2014-05-29 Thread Pedro Izecksohn
  Today I wrote the following API. It was not implemented on C yet. Do you have any comment? Could you help me to implement it? http://www.izecksohn.com/pedro/python/fingerprint/fingerprint.001.py -- https://mail.python.org/mailman/listinfo/python-list

pickle.dump (obj, conn)

2014-03-13 Thread Pedro Izecksohn
  Shouldn't pickle.dump (obj, conn) raise an Exception if conn is a TCP connection that was closed by the remote host? -- https://mail.python.org/mailman/listinfo/python-list