Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Mark Lawrence
On 04/12/2012 03:31, Steven D'Aprano wrote: On Mon, Dec 03, 2012 at 05:56:30PM -0600, Luke Paireepinart wrote: I just wanted to make the observation that, at least in gmail, the default behavior is to hide the entire quoted text behind an innocuous "..." button. Good lord, the more I hear abo

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Steven D'Aprano
On Mon, Dec 03, 2012 at 05:56:30PM -0600, Luke Paireepinart wrote: > I just wanted to make the observation that, at least in gmail, the default > behavior is to hide the entire quoted text behind an innocuous "..." > button. Good lord, the more I hear about Gmail, the more horrible I discover it

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Luke Paireepinart
I apologize for the blank message I just sent, the "send" button is near the "..." button. > >> Okay, this is where I stopped reading. >> >> You should pay attention to the emails that other people are sending. >> Notice how they reply to individual emails, not to a mass digest? Then >> pay attent

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Luke Paireepinart
On Mon, Dec 3, 2012 at 9:24 AM, Steven D'Aprano wrote: > On 04/12/12 00:55, Spectral None wrote: > >> From:"tutor-requ...@python.org**" >> To:tutor@python.org >> Sent: Sunday, 2 December 2012, 17:34 >> Subject: Tutor Digest, Vol 106, Issue 5 >> >> Send Tutor mailing list submissions to >>

Re: [Tutor] for Python tutor at Hyderabad

2012-12-03 Thread Alan Gauld
On 03/12/12 22:04, sree ganesh wrote: hi all, Are there any python expert in Hyderabad? please let me know as early as possible. I've no idea if any are in Hyderabad but the internet is full of them and you can access many of them via this list. The purpose is not to allocate individual tutor

Re: [Tutor] Pypi entry points

2012-12-03 Thread Oscar Benjamin
On 30 November 2012 09:38, Albert-Jan Roskam wrote: > I am reading The Hitchhiker's Guide to Packaging 1.0 documentation, > specifically http://guide.python-distribute.org/creation.html. I am > struggling to understand the section about Entry Points. This appears to be a > way to include extra

[Tutor] for Python tutor at Hyderabad

2012-12-03 Thread sree ganesh
hi all, Are there any python expert in Hyderabad? please let me know as early as possible. -- Cheers, Sree ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] writing a program

2012-12-03 Thread Steven D'Aprano
On 04/12/12 03:17, Narguess Dadfar wrote: Hi everyone, I need help to write a program to change the label size when change zoom level of my map in ArcGIS. Please read this web page carefully: http://www.catb.org/esr/faqs/smart-questions.html it will provide you with the help you need. If a

[Tutor] writing a program

2012-12-03 Thread Narguess Dadfar
Hi everyone, I need help to write a program to change the label size when change zoom level of my map in ArcGIS. Thank you, Narguess ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman

Re: [Tutor] 1 to N searches in files

2012-12-03 Thread Dave Angel
On 12/03/2012 10:46 AM, Spectral None wrote: > > Hi Dave > > Your solution seems to work: > > setA = set(FileA) > setB = set(FileB) > > for line in setB: > if line in setA: > matched_lines.writelines(line) > else: > non_matched_lines.writelines(line) > > There are no duplicates in

Re: [Tutor] 1 to N searches in files

2012-12-03 Thread Spectral None
From: "tutor-requ...@python.org" To: tutor@python.org Sent: Monday, 3 December 2012, 21:57 Subject: Tutor Digest, Vol 106, Issue 9 Send Tutor mailing list submissions to     tutor@python.org To subscribe or unsubscribe via the World Wide Web, visit     http://mail.python.org/mailman/listinfo/tu

Re: [Tutor] 1 to N searches in files

2012-12-03 Thread Spectral None
From: Dave Angel To: Spectral None Cc: "tutor@python.org" Sent: Sunday, 2 December 2012, 20:05 Subject: Re: [Tutor] 1 to N searches in files On 12/02/2012 03:53 AM, Spectral None wrote: > Hi all > > I have two files (File A and File B) with strings of data in them (each > string on a separat

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Steven D'Aprano
On 04/12/12 00:55, Spectral None wrote: From:"tutor-requ...@python.org" To:tutor@python.org Sent: Sunday, 2 December 2012, 17:34 Subject: Tutor Digest, Vol 106, Issue 5 Send Tutor mailing list submissions to tutor@python.org To subscribe or unsubscribe via the World Wide Web, visit

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Spectral None
From: "tutor-requ...@python.org" To: tutor@python.org Sent: Sunday, 2 December 2012, 17:34 Subject: Tutor Digest, Vol 106, Issue 5 Send Tutor mailing list submissions to     tutor@python.org To subscribe or unsubscribe via the World Wide Web, visit     http://mail.python.org/mailman/listinfo/tu

Re: [Tutor] Help with writing a program

2012-12-03 Thread Steven D'Aprano
On 03/12/12 14:59, rajesh mullings wrote: Hello, I am trying to write a program which takes two lines of input, one called "a", and one called "b", which are both strings, then outputs the number of times a is a substring of b. If you could give me an algorithm/pseudo code of what I should do to