Re: [Tutor] Python 2 & 3 and unittest

2013-09-05 Thread Albert-Jan Roskam
- Original Message - > From: Peter Otten <__pete...@web.de> > To: tutor@python.org > Cc: > Sent: Thursday, September 5, 2013 8:29 AM > Subject: Re: [Tutor] Python 2 & 3 and unittest > > Steven D'Aprano wrote: > >> On Thu, Sep 05, 2013 at 09:11:50AM +1000, Steven D'Aprano wrote: >> >>> I

Re: [Tutor] Python 2 & 3 and unittest

2013-09-05 Thread Albert-Jan Roskam
- Original Message - > From: Steven D'Aprano > To: tutor@python.org > Cc: > Sent: Thursday, September 5, 2013 1:11 AM > Subject: Re: [Tutor] Python 2 & 3 and unittest > > On Wed, Sep 04, 2013 at 06:30:12AM -0700, Albert-Jan Roskam wrote: >> Hi, >> >> I am trying to make my app work in P

Re: [Tutor] Python 2 & 3 and unittest

2013-09-05 Thread Oscar Benjamin
On 5 September 2013 11:20, Albert-Jan Roskam wrote: >> from __future__ import division, print_function > > Assuming I never use the arguments of the print function, why also import > print_function? print("something") works no matter if 'print' is a statement > or a function. The problem is whe

Re: [Tutor] Tutor Digest, Vol 114, Issue 73

2013-09-05 Thread I. Alejandro Fleischer
Dear Friends, I have a set of data to fit to a custom equation, y=a+b*exp(k*x), would you advice me on the how to, or tutorial? Thank you On Thu, Aug 22, 2013 at 10:11 AM, wrote: > Send Tutor mailing list submissions to > tutor@python.org > > To subscribe or unsubscribe via the World

[Tutor] equation solving (was: Re: Tutor Digest, Vol 114, Issue 73)

2013-09-05 Thread Alan Gauld
On 05/09/13 20:13, I. Alejandro Fleischer wrote: Dear Friends, Hi, please, in future, do not resend the entire digest message - it just clutters up inboxes and costs members money on their bandwidth allowance. Alsao change the subject line to something relevant (as I've done here). Also, send

[Tutor] fit data to equation

2013-09-05 Thread bob gailer
On 9/5/2013 3:13 PM, I. Alejandro Fleischer wrote: Dear Friends, Hi and welcome to the tutor list. Since you are new bear with me while I offer some important guidelines to effective communication with us. 1 - don't "hijack" some other email as a quick way to get our email address. 2 - when co

Re: [Tutor] Python 2 & 3 and unittest

2013-09-05 Thread Albert-Jan Roskam
Original Message - > From: Don Jennings > To: Albert-Jan Roskam > Cc: Python Mailing List > Sent: Wednesday, September 4, 2013 4:15 PM > Subject: Re: [Tutor] Python 2 & 3 and unittest > > > On Sep 4, 2013, at 9:30 AM, Albert-Jan Roskam wrote: > >> Hi, >> >> I am trying to make