[Tutor] Re: Tutor Digest, Vol 14, Issue 32

2005-04-09 Thread Rick Muller
On Apr 9, 2005, at 1:54 PM, [EMAIL PROTECTED] wrote: Message: 8 Date: Sat, 09 Apr 2005 20:58:49 +0200 From: "Logesh Pillay" <[EMAIL PROTECTED]> Subject: [Tutor] quicksort using list comprehension To: "Discussion for learning programming with Python" Message-ID: <[EMAIL PROTECTED]> Content-

[Tutor] Recursive list checking

2005-04-08 Thread Rick Muller
On Apr 8, 2005, at 11:37 AM, [EMAIL PROTECTED] wrote: From: joe_schmoe <[EMAIL PROTECTED]> For example, this is what I am currently doing: =code block # generate unique numbers and append to list nmbr01 = random.randrange( 1, 20 ) nmbr_list.append( n

Re: [Tutor] Address book sort of

2004-12-04 Thread Rick Muller
- Save list to file >[P] - Print this menu >[Q] - Quit >''' > > > > -- > Regards, > Eri Mendz > Using PC-Pine 4.61 > > > -- > Using PC-Pine 4.61 > > ___ > Tutor maillist -

Re: [Tutor] Python regular expression

2004-12-03 Thread Rick Muller
if eq.match(line): key,val = eq.findall(line)[0][:2] holder[key] = val return if __name__ == '__main__': main() --- Max Noel <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2004, at 21:34, Rick Muller wrote: > > > The file type you mention is al

Re: [Tutor] Python regular expression

2004-12-03 Thread Rick Muller
. > > I am search: > > search = re.search ["_at") > > > my question: > how can i tell python to select some rows that have > particular pattern such as [Name] or Name of [Unit]. > > is there any way of doing this. > please help me > > thanks > kumar > > ____