Re: a -very- case sensitive search

2006-12-02 Thread Ola K
Thank you! This was really helpful. Also the data bit about .istitle() was the missinng piece of the puzzle for me... So now my script is nice and working :) And as beside the point, yes I am from Israel, and no, we don't have uper case and lower case letters. Hebrew has only one set of letters. S

Re: a -very- case sensitive search

2006-11-26 Thread Paul McGuire
"John Machin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John - Thanks for the updates. Comments below... -- Paul > Paul McGuire wrote: > >> You may have to do some setup >> of your locale for proper handling of unicode.isupper, etc., > > Whatever gave you that impression?

Re: a -very- case sensitive search

2006-11-26 Thread John Machin
Paul McGuire wrote: > "Ola K" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi, > > I am pretty new to Python and I want to make a script that will search > > for the following options: > > 1) words made of uppercase characters -only- (like "YES") > > 2) words made of lowercase

Re: a -very- case sensitive search

2006-11-26 Thread Paul McGuire
"Ola K" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > I am pretty new to Python and I want to make a script that will search > for the following options: > 1) words made of uppercase characters -only- (like "YES") > 2) words made of lowercase character -only- (like "yes") > 3

Re: a -very- case sensitive search

2006-11-25 Thread John Machin
Dustan wrote: > > If you're using google groups, it for some reason thought my example > code was 'quoted text', which it certainly isn't, seeing as it's not > found anywhere prior to my message. Sigh. And if we're NOT using Google Groups, it still thinks so ... The reason is that your "example

Re: a -very- case sensitive search

2006-11-25 Thread John Machin
Dustan wrote: > Steven D'Aprano wrote: > > On Sat, 25 Nov 2006 13:39:55 -0800, Ola K wrote: > > > > > Hi, > > > I am pretty new to Python and I want to make a script that will search > > > for the following options: > > > 1) words made of uppercase characters -only- (like "YES") > > > 2) words made

Re: a -very- case sensitive search

2006-11-25 Thread Dustan
Steven D'Aprano wrote: > On Sat, 25 Nov 2006 13:39:55 -0800, Ola K wrote: > > > Hi, > > I am pretty new to Python and I want to make a script that will search > > for the following options: > > 1) words made of uppercase characters -only- (like "YES") > > 2) words made of lowercase character -only

Re: a -very- case sensitive search

2006-11-25 Thread Dustan
Dustan wrote: > Ola K wrote: > > Hi, > > I am pretty new to Python and I want to make a script that will search > > for the following options: > > 1) words made of uppercase characters -only- (like "YES") > > 2) words made of lowercase character -only- (like "yes") > > 3) and words with only the f

Re: a -very- case sensitive search

2006-11-25 Thread Steven D'Aprano
On Sat, 25 Nov 2006 13:39:55 -0800, Ola K wrote: > Hi, > I am pretty new to Python and I want to make a script that will search > for the following options: > 1) words made of uppercase characters -only- (like "YES") > 2) words made of lowercase character -only- (like "yes") > 3) and words with on

Re: a -very- case sensitive search

2006-11-25 Thread Dustan
Ola K wrote: > Hi, > I am pretty new to Python and I want to make a script that will search > for the following options: > 1) words made of uppercase characters -only- (like "YES") > 2) words made of lowercase character -only- (like "yes") > 3) and words with only the first letter capitalized (lik

Re: a -very- case sensitive search

2006-11-25 Thread Goofy666
Hi > * and I need to do all these considering the fact that not all letters > are indeed English letters. You mean letters from the English alphabet (derived from the Latin/Roman alphabet, fyi)? I'm sorry for the nitpicking, but 'English letters' sounds a bit too 'ackward' to me. > I went t

a -very- case sensitive search

2006-11-25 Thread Ola K
Hi, I am pretty new to Python and I want to make a script that will search for the following options: 1) words made of uppercase characters -only- (like "YES") 2) words made of lowercase character -only- (like "yes") 3) and words with only the first letter capitalized (like "Yes") * and I need to d