Re: [Tutor] JOB AD PROJECT

2010-11-21 Thread mhw
(Apologies for TP-ing) I'd second Alan's comments about not taking this as a first piece of work. Otherwise, Django seems a good choice - reasonably simple to get started, and well documented. This is the Python tutor list, so sort of assumes you are doing it in Python. This list tends to work

Re: [Tutor] JOB AD PROJECT

2010-11-21 Thread Alan Gauld
wrote I am afraid only Alan has said something to me. Is it that solution would never come or u guys are waiting to gimme the best? I think we are waiting for a specific question. I said that your technology choice was OK for the project. What else do you want to know. You say you've don

Re: [Tutor] JOB AD PROJECT

2010-11-21 Thread Knacktus
Am 21.11.2010 04:34, schrieb delegb...@dudupay.com: Hi People, I am afraid only Alan has said something to me. Is it that solution would never come or u guys are waiting to gimme the best? I agree with what Alan wrote. Your project sounds like real challenge even for experienced developers. Ev

[Tutor] lists, arrays and saving data

2010-11-21 Thread Chris Begert
Hi Gurus I just wrote my first little python program; so yes I'm very new to all this. The goal in the end is to have a program that shows how the sun moves from the point of view of a given location (i.e. solar paths added to some sort of stereographic diagram). My very first program calcula

Re: [Tutor] Simple counter to determine frequencies of words in a document

2010-11-21 Thread Josep M. Fontana
Martin, Alan, col speed and everybody that helped: I think I'm going to stop because I'm repeating myself but it is difficult for me not to be profuse in my thanks because you guys really go beyond the call of duty. I love this list. The responses in this list most of the times don't just address t

Re: [Tutor] Simple counter to determine frequencies of words in a document

2010-11-21 Thread python
> it is difficult for me not to be profuse in my thanks because you guys really > go beyond the call of duty. I love this list. The responses in this list most > of the times don't just address the problem at hand but are also useful in a > more general sense and help people become better progra

Re: [Tutor] lists, arrays and saving data

2010-11-21 Thread Emile van Sebille
On 11/21/2010 5:12 AM Chris Begert said... Hi Gurus I just wrote my first little python program; so yes I'm very new to all this. The goal in the end is to have a program that shows how the sun moves from the point of view of a given location (i.e. solar paths added to some sort of stereogra

Re: [Tutor] Simple counter to determine frequencies of words in adocument

2010-11-21 Thread Alan Gauld
"Josep M. Fontana" wrote : return sorted( : word_table.items(), key=lambda item: item[1], reverse=True : ) By the way, I know what a lambda function is and I read about the key parameter in sorted() but I don't understand very well what "key=lambda item: item[1]" does. ... What I don

Re: [Tutor] lists, arrays and saving data

2010-11-21 Thread Alan Gauld
"Chris Begert" wrote How do I store a years worth of data of angles in an array / list / whatever is most useful when using Python? The choice of data structure usually depends on how you plan on accessing/using it. So we can't advise until we know more about what you plan on doing with it! T

Re: [Tutor] Simple counter to determine frequencies of words in a document

2010-11-21 Thread Emile van Sebille
On 11/21/2010 8:15 AM Josep M. Fontana said... return sorted(word_table.items(), key=lambda item: item[1], reverse=True) What I don't understand is the syntax of "item : item[1]". Key defines a lambda function that accepts as a single passed parameter named item and returns the element i

Re: [Tutor] lists, arrays and saving data

2010-11-21 Thread Corey Richardson
On 11/21/2010 8:12 AM, Chris Begert wrote: Hi Gurus I just wrote my first little python program; so yes I'm very new to all this. The goal in the end is to have a program that shows how the sun moves from the point of view of a given location (i.e. solar paths added to some sort of stereog

[Tutor] Help regarding lists, dictionaries and tuples

2010-11-21 Thread Robert Sjöblom
Hi. I'm new at programming and, as some others on this list, am going through Python Programming for the Absolute Beginner. In the current chapter (dealing with lists and dictionaries), one of the challenges is to: >Write a Character Creator program for a role-playing game. The player should >be g

Re: [Tutor] Help regarding lists, dictionaries and tuples

2010-11-21 Thread Hugo Arts
On Mon, Nov 22, 2010 at 12:29 AM, Robert Sjöblom wrote: > Hi. I'm new at programming and, as some others on this list, am going > through Python Programming for the Absolute Beginner. In the current > chapter (dealing with lists and dictionaries), one of the challenges > is to: >>Write a Character

Re: [Tutor] Help regarding lists, dictionaries and tuples

2010-11-21 Thread Robert Sjöblom
[Snip] >> I don't want a direct answer on how to proceed, but a question that >> arose during my thinking of the problem was whether dictionaries can >> have integral data in them, like so: >> attributes = {"Strength" : 28, "Health" : 12} >> or if they have to be: >> attributes = {"Strength" : "28"

Re: [Tutor] Help regarding lists, dictionaries and tuples

2010-11-21 Thread bob gailer
On 11/21/2010 6:29 PM, Robert Sjöblom wrote: Hi. I'm new at programming and, as some others on this list, am going through Python Programming for the Absolute Beginner. In the current chapter (dealing with lists and dictionaries), one of the challenges is to: Write a Character Creator program fo