Re: [Tutor] a very simple question

2007-03-24 Thread Rikard Bosnjakovic
On 3/23/07, Alan Gauld [EMAIL PROTECTED] wrote: Read the 'Whats in a name?' topic in my tutor for more about this and how to deal with it. http://www.catb.org/~esr/faqs/smart-questions.html as well. -- - Rikard - http://bos.hack.org/cv/ ___ Tutor

[Tutor] parsing text

2007-03-24 Thread Jay Mutter III
Kent thanks for this as I was clearly confused with regards to string and list of strings. I am, however, still having difficulty with how to solve a problem involving a related issue. i have the following text: Barnett, John B., assignor of one-half to R. N. Tutt, Kansas City, Mo.

[Tutor] No need to seed random?

2007-03-24 Thread Cecilia Alm
After importing random, there is no need to call random.seed() in a python program, is there? (unless one wishes to specifically control what the seed is.) Thanks! ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] nube question...

2007-03-24 Thread Lurch
Gentlemen, I don't consider myself a rank beginner (I did take a shower this week), but I've been beating my brains out over this for the past week. I'm writing this GUI app (Tkinter). Just about everything is done (all the nuts,bolts, and the occasional nail. Now Im trying to code a

Re: [Tutor] parsing text

2007-03-24 Thread Kent Johnson
Alan Gauld wrote: 1.) when i do readlines and create a list and then print the list it adds a blank line between every line of text I suspect that's because you are reading a newline character from the file and print adds a newline of its own. You need to use rstrip() to take out the

Re: [Tutor] No need to seed random?

2007-03-24 Thread Kent Johnson
Cecilia Alm wrote: After importing random, there is no need to call random.seed() in a python program, is there? (unless one wishes to specifically control what the seed is.) Right. Kent ___ Tutor maillist - Tutor@python.org

[Tutor] Pmw BLT help

2007-03-24 Thread Chris Smith
I'm trying to learn how to use Pmw.BLT to have plotting in some GUIs I would like to create. I have a book with some examples but when I run the code I get this error message which seems to be related to the packages I installed and not my code: Traceback (most recent call last): File