Dear list,
I have been teaching Python with minimal knowledege myself!! I need to be able
to search a text file that perhaps contains names and scores. How do I find a
particular name, change the score and then save the changes back to the text
file again??
Thanks for any help. Diana
happens.
Diana
> Carroll, Barry <[EMAIL PROTECTED]> wrote:
>
> Hello, Diana,
>
> I have had a little experience with networking problems. Here's my take
> on your situation.
>
> Regards,
>
>
> > Date: Tue, 15 Aug 2006 11:19:35 +1000
> >
Do you have shared drives, VNC, windows terminal server?
> How do you define a 'lab'?
> What do you mean by python being 'active'?
> And what exactly happens when a failure occurs?
>
> None of these things are standardised in anmy way.
>
> Alan G
>
>
: "Tom Schinckel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2006 4:28 PM
Subject: Re: [Tutor] Python on network problems
> Diana Hawksworth wrote:
>> Dear List,
>>
>> I have Python installed on 1 of 4 labs at my High School. The lab
Dear List,
I have Python installed on 1 of 4 labs at my High School. The lab is connected
to a whole school network. Students login through the network - but Python is
active in this lab only.
Sometimes I have a student who simply cannot access Python, even though he has
been working on it f
uot;Max Noel" <[EMAIL PROTECTED]>
Cc: "Diana Hawksworth" <[EMAIL PROTECTED]>;
Sent: Sunday, May 01, 2005 6:58 AM
Subject: Re: [Tutor] guess the number game help
> > > And if they do understand it and know how to modify it then even
> if
> > > t
Hello
list!
I have
started teaching Python to a group of High School students. I set them the
"Guess the Number" game as a GUI as an assignment. One of the students has
passed in some script that is foreign to any tutorial work we have done.
Some of it is below. Does anyone recognise it
Thanks for that Alan. Have it working - or at least showing images on a
canvas! Now just need to figure out how to get that image on an
established Frame!
Cheers. Diana
- Original Message -
From: "Alan Gauld" <[EMAIL PROTECTED]>
To: "Diana Hawksworth"
Golden indeed, Brian! Works like a charm! Thanks heaps. Diana
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Ahhh! Thanks Kent. Shall give that a try. Diana
- Original Message -
From: "Kent Johnson" <[EMAIL PROTECTED]>
To: "Diana Hawksworth" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, April 18, 2005 11:39 AM
Subject: Re: [Tutor] displaying images
> Diana Hawk
Hello list! I am working through "Programming
Python" by Mark Lutz. I am puzzled by the following script - as I am not
certain what the "../gifs/" means, even though Lutz explains it by saying it
is the reference for a GIF stored "in another directory". I have
tried to adapt it - using my
Brian - thanks for your continuing help! Here is ALL of the code. Sure
hope you can help. Cheers. Diana
# Number 10
# A Guess the Number program
# Hawksworth - 28/3/05
from Tkinter import *
import random
class Application(Frame):
""" GUI application - guess the number game. """
def __
> From: "Brian van den Broek" <[EMAIL PROTECTED]>
> To: "Diana Hawksworth" <[EMAIL PROTECTED]>
> Cc:
> Sent: Saturday, April 16, 2005 3:14 PM
> Subject: Re: [Tutor] exceptions
> > Diana Hawksworth said unto
Hello list,
I have been trying to trap a string entry by raising an
exception. The code follows - but the exception is never raised.
What am I doing wrong?
TIA Diana
try:
self.guess = int(self.num_ent.get())
self.num_ent.delete(0,END)
y widgets
> On Sun, 10 Apr 2005 18:07:48 +1000
> "Diana Hawksworth" <[EMAIL PROTECTED]> wrote:
>
> > Hello list,
> >
> > Is it possible to change the width of an Entry widget - or not? I am
using Tkinter, GUI - and have an Entry widget that accepts a num
Hello list,
Is it possible to change the width of an Entry widget -
or not? I am using Tkinter, GUI - and have an Entry widget that accepts a
number. I just don't want it to extend the width of the column. I have
tried width = - but get an error.
Maybe a text widget would be preferable
;Kent Johnson" <[EMAIL PROTECTED]>Cc: <tutor@python.org>Sent: Tuesday, April
05, 2005 7:20 AMSubject: Re: [Tutor] using the enter key>
Diana Hawksworth wrote:> > At the moment I have some user
input tied to a button that allows the> > input to be "submitted&qu
Hello list!
At the moment I have some user input tied to a button
that allows the input to be "submitted" and then an answer is supplied.
How can I get rid of this submit button, and have the user just press the
"enter" key and have the same result happen?
TIA. Diana
___
Dear list!
Is it possible for me to make a command
do multiple things instead of 1?
For instance, I have a button that allows me to
"submit" some user input (that is, show it in a window), but I also want it to
count the number of times that submit button has been pressed.
I have tried th
message)
> Hi Diana,
>
> Welcome.
>
> Are you using IDLE? Could you provide a copy of your code?
>
>
> Regards,
>
> Liam Clarke
>
> Still a newbie, but not as much. :)
>
>
> On Wed, 23 Mar 2005 20:59:02 +1100, Diana Hawksworth
> <[EMAIL PROTEC
Hi! I need help on blocking user access to a
message box - for example, the program could provide an answer to an
input. At the moment, the user has access to - and can type into - that
"answer" space. How do I prevent that from happening please?
Diana - a very newbie!
___
21 matches
Mail list logo