Re: [Tutor] Question regular expressions - the non-greedy pattern

2013-01-22 Thread Marcin Mleczko
Now I think I got it. Thanks a lot again. Marcin Am 22.01.2013 12:00, schrieb tutor-requ...@python.org: > > Message: 1 > Date: Tue, 22 Jan 2013 11:31:01 +1100 > From: Steven D'Aprano > To: tutor@python.org > Subject: Re: [Tutor] Question regular expressions - the non-greedy > pattern > M

[Tutor] Calculate hours

2013-01-22 Thread anthonym
Hello All, I originally wrote this program to calculate and print the employee with the most hours worked in a week. I would now like to change this to calculate and print the hours for all 8 employees in ascending order. The employees are named employee 0 - 8 Any ideas? Thanks, Tony Code bel

Re: [Tutor] Calculate hours

2013-01-22 Thread Mitya Sirenef
On 01/22/2013 09:52 PM, anthonym wrote: Hello All, > > I originally wrote this program to calculate and print the employee > with the most hours worked in a week. I would now like to change this > to calculate and print the hours for all 8 employees in ascending > order. > > The employees are na

Re: [Tutor] Calculate hours

2013-01-22 Thread Dave Angel
On 01/22/2013 09:52 PM, anthonym wrote: Hello All, I originally wrote this program to calculate and print the employee with the most hours worked in a week. I would now like to change this to calculate and print the hours for all 8 employees in ascending order. The employees are named employee

Re: [Tutor] Calculate hours

2013-01-22 Thread Dave Angel
On 01/22/2013 10:08 PM, Mitya Sirenef wrote: On 01/22/2013 09:52 PM, anthonym wrote: Hello All, > > I originally wrote this program to calculate and print the employee > with the most hours worked in a week. I would now like to change this > to calculate and print the hours for all 8 employ

Re: [Tutor] Calculate hours

2013-01-22 Thread Mitya Sirenef
On 01/22/2013 10:34 PM, Dave Angel wrote: On 01/22/2013 10:08 PM, Mitya Sirenef wrote: >> On 01/22/2013 09:52 PM, anthonym wrote: >>> Hello All, >> > >> > I originally wrote this program to calculate and print the employee >> > with the most hours worked in a week. I would now like to change th

Re: [Tutor] Calculate hours

2013-01-22 Thread anthonym
Thanks Dave I think I would like to keep it simple. How would I get it to repeat and print before deleting? On 1/22/13 7:10 PM, "Dave Angel" wrote: >On 01/22/2013 09:52 PM, anthonym wrote: >> Hello All, >> >> I originally wrote this program to calculate and print the employee >>with the >> mos