Re: [Tutor] Python execution timer/proficiency testing

2013-08-26 Thread Steven D'Aprano
On Mon, Aug 26, 2013 at 08:20:30PM +0200, Dino Bektešević wrote: > Hello, > > I'm interested in learning more about testing a program proficiency and how > to measure execution times in seconds. I have a very repetitive functions For the record, "proficiency" means skill, and is used when talking

Re: [Tutor] Comparison Textboxes

2013-08-26 Thread Steven D'Aprano
Hi Taserian, On Mon, Aug 26, 2013 at 05:26:37PM -0400, taserian wrote: > I'm attempting to gather the pieces I need for a simple project I'd like to > do for my job, but I'm having a difficult time finding something, and I'm > appealing to the hive mind at Tutor for wisdom. Just for the record, "

Re: [Tutor] Comment on http://www.catb.org/esr/faqs/smart-questions.html

2013-08-26 Thread Chris Down
On 2013-08-27 12:41, Steven D'Aprano wrote: > http://sscce.org/ "Keep the width of the lines in your example to under 62 characters wide." I don't really see any reason to use less than 79 in 2013. In my opinion(!), this document is too opinionated to be useful as a generic guide (but it mostly l

Re: [Tutor] Comment on http://www.catb.org/esr/faqs/smart-questions.html

2013-08-26 Thread Steven D'Aprano
On 27/08/13 05:41, bob gailer wrote: Hi fellow tutors and helpers. I have a reaction to http://www.catb.org/esr/faqs/smart-questions.html and I'd like your feedback. Perhaps I will then send revised comments to the authors of the site. I think you are right. Eric S Raymond is a very smart, ve

Re: [Tutor] Comparison Textboxes

2013-08-26 Thread Jerry Hill
On Mon, Aug 26, 2013 at 5:26 PM, taserian wrote: > Does anyone have an idea of what I'm talking about, and can you point me in > the right direction? Historically, the unix tool for comparing the differences between two files is called 'diff'. Python has similar functionality in a library called

Re: [Tutor] Python execution timer/proficiency testing

2013-08-26 Thread Dave Angel
On 26/8/2013 14:20, Dino Bektešević wrote: Please post using text email, not html. All the extra junk is a waste of space, and really slows down reading. There are other problems caused sometimes, but you haven't hit those yet. > > Hello,I'm interested in > learning more about testing a progra

Re: [Tutor] Comparison Textboxes

2013-08-26 Thread Dave Angel
On 26/8/2013 17:26, taserian wrote: > I'm attempting to gather the pieces I need > for a simple project I'd like to do for my job, but I'm having a > difficult time finding something, and I'm appealing to the hive mind at > Tutor for wisdom. > My project needs to compare two or more large text

[Tutor] Python execution timer/proficiency testing

2013-08-26 Thread Dino Bektešević
Hello, I'm interested in learning more about testing a program proficiency and how to measure execution times in seconds. I have a very repetitive functions and methods that work on images with large amount of measuring points each one working with numpy.ndarrays which is really taxing and has to

Re: [Tutor] Comparison Textboxes

2013-08-26 Thread bob gailer
On 8/26/2013 5:26 PM, taserian wrote: I'm attempting to gather the pieces I need for a simple project I'd like to do for my job, but I'm having a difficult time finding something, and I'm appealing to the hive mind at Tutor for wisdom. My project needs to compare two or more large textboxes (e

Re: [Tutor] Comment on http://www.catb.org/esr/faqs/smart-questions.html

2013-08-26 Thread Emile van Sebille
perhaps pointing to http://www.catb.org/esr/faqs/smart-questions.html#intro is a better answer? Emile ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Comment on http://www.catb.org/esr/faqs/smart-questions.html

2013-08-26 Thread Emile van Sebille
I suspect that of the referrals made to this site only one-in-ten actually bother to _read_ the damn thing. And those are the ones that quickly move on to the main python list going forward. (I hope!) And while you are right that it doesn't serve the needs of the ten-second-toms out there tha

[Tutor] Comparison Textboxes

2013-08-26 Thread taserian
I'm attempting to gather the pieces I need for a simple project I'd like to do for my job, but I'm having a difficult time finding something, and I'm appealing to the hive mind at Tutor for wisdom. My project needs to compare two or more large textboxes (each one containing a file or a large amoun

Re: [Tutor] i need help with the following question

2013-08-26 Thread Alan Gauld
On 26/08/13 19:31, Joel Goldstick wrote: ___ From: JAMIE shelley To: Alan Gauld effectively just a knowledge base but one that can change the area of it's specialization. So, the original question about ways to output from python has nothing to do with your questions now? The proble

[Tutor] Comment on http://www.catb.org/esr/faqs/smart-questions.html

2013-08-26 Thread bob gailer
Hi fellow tutors and helpers. I have a reaction to http://www.catb.org/esr/faqs/smart-questions.html and I'd like your feedback. Perhaps I will then send revised comments to the authors of the site. Before reading my comments pretend you are a newbie asking your first question and getting dir

Re: [Tutor] i need help with the following question

2013-08-26 Thread Joel Goldstick
First of all, ONLY use text mode for sending messages to the mailing list. On Mon, Aug 26, 2013 at 1:55 PM, ALAN GAULD wrote: > You need to include the tutor list (use ReplyAll) > if you want to send to the list. > > I'm not sure I understand what you are after, can > you give a bit more backgrou

Re: [Tutor] i need help with the following question

2013-08-26 Thread ALAN GAULD
You need to include the tutor list (use ReplyAll)  if you want to send to the list. I'm not sure I understand what you are after, can  you give a bit more background. What do you mean by  "knowledge base", "object code", "a.i. style of program",  OFC, GUI linking, "xyz matrix code" etc? I could gu

Re: [Tutor] i need help with the following question

2013-08-26 Thread Alan Gauld
On 26/08/13 09:29, isaac Eric wrote: describe different ways of displaying output using python! This smells like homework. We don;t do your homework for you although we will try to point you in the right direction. But you need to show that you are at least trying to figure it out for yourself.

Re: [Tutor] i need help with the following question

2013-08-26 Thread bob gailer
On 8/26/2013 4:29 AM, isaac Eric wrote: describe different ways of displaying output using python! I am glad you are asking for help. We encourage that. I agree with the other responses. Your question is clear to you, but not to us. We could play the guessing game and eventually discover what

Re: [Tutor] i need help with the following question

2013-08-26 Thread Chris Down
On 2013-08-26 01:29, isaac Eric wrote: > describe different ways of displaying output using python! Please, read this: http://www.catb.org/esr/faqs/smart-questions.html pgpmEMqlTiuCa.pgp Description: PGP signature ___ Tutor maillist - Tutor@python.or

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread William Ray Wing
On Aug 26, 2013, at 5:28 AM, Chris Down wrote: > On 2013-08-26 01:23, Alan Gauld wrote: >> While this is technically within the remit of this list, since its >> about a standard library module, I suspect you might be better >> off asking on the main tutor list. It's at a deeper level of >> skill/

Re: [Tutor] i need help with the following question

2013-08-26 Thread Don Jennings
On Aug 26, 2013, at 4:29 AM, isaac Eric wrote: > describe different ways of displaying output using python! Well, that's not really a question now, is it? I would be happy to help, but which part of the task is confusing for you? Take care, Don ___

[Tutor] i need help with the following question

2013-08-26 Thread isaac Eric
describe different ways of displaying output using python! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread ALAN GAULD
Oops, yes. That's absolutely correct. Sorry about any confusion caused!   Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ > > From: William Ray Wing >To: Chris Down >Cc: William Ray Wing ; Alan Gauld ; >tutor@python.org >Sent: Mond

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Chris Down
On 2013-08-26 09:50, William Ray Wing wrote: > I'd be willing to bet that Alan simply foobar'd his answer - he _meant_ to > say the main python list, not the main tutor list. I guessed that was what he meant. I posted on python-list, anyway. pgpE1GejEhn4I.pgp Description: PGP signature _

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Steven D'Aprano
On 26/08/13 19:28, Chris Down wrote: On 2013-08-26 01:23, Alan Gauld wrote: While this is technically within the remit of this list, since its about a standard library module, I suspect you might be better off asking on the main tutor list. It's at a deeper level of skill/experience than most of

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread Chris Down
On 2013-08-26 01:23, Alan Gauld wrote: > While this is technically within the remit of this list, since its > about a standard library module, I suspect you might be better > off asking on the main tutor list. It's at a deeper level of > skill/experience than most of the tutor queries. Hm, I guess