[Tutor] Pease help

2014-06-06 Thread Glen Chan
Hello I am a student trying to figure out this program. Here is my objective and program below. What am I doing wrong? I can't get this to work. Calculate the average pints of blood donated during a blood drive. The program should take in the number of pints donated during the drive, based o

Re: [Tutor] idlex

2014-06-06 Thread Alan Gauld
On 06/06/14 23:13, Mark Lawrence wrote: I'd never heard of this until today so thought I'd flag it up for the benefit of anybody who might be interested. It's at http://idlex.sourceforge.net/ IdleX is cool. They've been trying to get many of the features incorporated into core Idle for years.

[Tutor] idlex

2014-06-06 Thread Mark Lawrence
I'd never heard of this until today so thought I'd flag it up for the benefit of anybody who might be interested. It's at http://idlex.sourceforge.net/ Quoting from the site "IdleX is a collection of over twenty extensions and plugins that provide additional functionality to IDLE, a Python ID

Re: [Tutor] Fwd: glob and file names

2014-06-06 Thread Gabriele Brambilla
oh yes! I had a problem inside the file name! (I had a lot of file to open and I changed the one I was looking at!the one I was trying to open has a wrong filename...) Sorry for the misunderstanding. Gabriele 2014-06-06 3:05 GMT-04:00 Peter Otten <__pete...@web.de>: > Gabriele Brambilla wrote:

Re: [Tutor] Fwd: glob and file names

2014-06-06 Thread Peter Otten
Gabriele Brambilla wrote: > 2014-06-05 22:10 GMT-04:00 Peter Romfeld : > > On Friday, June 06, 2014 10:04 AM, Gabriele Brambilla wrote: >>> >>> fiLUMOname = 'Lsum_' + period + '_' + parts[2] + '_' + parts[3] + '_' >>> + parts[4] + '_*.dat' >>> >>> aaa = glob.glob(fiLUMOname) >>> print(aaa) >>> fi