Treloar, Nick wrote:
> i am tyin to make a number guesing game were do i put the random
> genorator it the top of each child screen def
Did you write this program yourself? Do you understand it? What is it
supposed to do? I personally don't understand it enough to address your
question.
> here i
i am tyin to make a number guesing game were do i put the random genorator it
the top of each child screen def
here is my code
from Tkinter import*
root = Tk()
root.title("main screen")
root.maxsize(width=350,height=200)
root.minsize(width=350,height=200)
root.resizable(width=YES,height=YES)
def
It seems that all the player does is tell the .gif where to move based on a
mouse click event. I don't understand redrawing or anything like that. This
is begining Tkinter for me. So, perhaps you could dumb down what you were
saying? I was able to move the .gif from one point to the next, ba
On 11/05/07, Jeff Peery <[EMAIL PROTECTED]> wrote:
> ok, thanks. so is there a difference in performance if I do it this way
> versus if I use say a numpy function on an array? thanks.
I don't know enough about numpy to answer your quesiton, but you may
be able to answer it yourself: check out the
ok, thanks. so is there a difference in performance if I do it this way versus
if I use say a numpy function on an array? thanks.
Jeff
John Fouhy <[EMAIL PROTECTED]> wrote: On 11/05/07, Jeff Peery wrote:
> hello, I was wondering what might be the best way to structure my data
> within python.
On 11/05/07, Jeff Peery <[EMAIL PROTECTED]> wrote:
> hello, I was wondering what might be the best way to structure my data
> within python. I am sampling data points, and in each there is a time,
> value, and text string associated with that sample. so I was thinking I'd
> make a list of 'measurem
hello, I was wondering what might be the best way to structure my data within
python. I am sampling data points, and in each there is a time, value, and text
string associated with that sample. so I was thinking I'd make a list of
'measurement objects' and each object would have the attributes:
"Teresa Stanton" <[EMAIL PROTECTED]> wrote
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "C:\Python25\lib\lib-tk\Tkinter.py", line 1403, in __call__
>return self.func(*args)
> TypeError: unbound method direction() must be called
> with Images instance as first
> T's reply:
> The maze is simply the backdrop. I've attached the new and improved code.
As I said in the last post I think the maze probably needs to
be quite a bit more than the backdrop. I think it knows about
the rules of movement within the maze - which routes are blocked,
where other pla
"Duncan Gibson" <[EMAIL PROTECTED]> wrote
> I've been searching for a module to allow simple HTML generation
Further to my last reply here are the urls:
http://www.cheetahtemplate.org/
http://kid-templating.org/
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freene
"Duncan Gibson" <[EMAIL PROTECTED]> wrote
> I've been searching for a module to allow simple HTML generation,
> but
> most of them appear to be more concerned with *parsing* HTML and
> XML.
> The only one that looks promising from reviews dating back to 1998
> or
> so is HTMLgen, but the link
I hope you are not tired of me posting about this, but I'm determined to
understand what I'm doing wrong, and that means I'm pounding away, searching
and not able to fix it or find what the problem is.
I've written the class to make the .gif move. Now, this did work (to a point)
when I was wri
Um... Here's the attached code, sorry.
Alan said:
What do you see the maze as doing?
T's reply:
The maze is simply the backdrop. I've attached the new and improved code.
Alan said:
OK, So I'm asssuming these gifs represent something, not actual gif
files?
T's reply:
um... actually, the
- Original Message -
From: "Alan Gauld" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 10, 2007 11:04 AM
Subject: Re: [Tutor] canvas -> CLASSES
> Alan said:
> What do you see the maze as doing?
T's reply:
The maze is simply the backdrop. I've attached the new and improved code.
Alan sa
lo there all,
i have a simple thread that i want to run without piping any output to the
terminal.
like if i do an
x = os.system("ping -c 1 www.google.com")
i don't want it to show all the stuff in the terminal.
can i disable that ?
can i disable it for only certain lines?
thanks
___
Duncan Gibson wrote:
> I've been searching for a module to allow simple HTML generation, but
> most of them appear to be more concerned with *parsing* HTML and XML.
> The only one that looks promising from reviews dating back to 1998 or
> so is HTMLgen, but the link on starship.python.net appears
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Gibson
> Sent: Thursday, May 10, 2007 10:25 AM
> To: tutor@python.org
> Subject: [Tutor] Generating simple HTML from within Python
>
>
> I'm updating an application at the moment that genera
"Teresa Stanton" <[EMAIL PROTECTED]> wrote
> Would it be ... er... uh... 'proper'... to put the maze in a module,
It doesn't really matter except thatr putting it in a module
makes it easier to reuse in another program later.
> make the actual movement of the .gif's in a class in a seperate fil
Hi Thanos,
Alan Gauld wrote:
> "Thanos Panousis" <[EMAIL PROTECTED]> wrote
>
>> The time has come to write some kind of gui for it, so that graphs,
>> visualizations and configuration options are exposed to non
>> developers. Do you think that a web app frame work like turbogears
>> is
>> approp
I'm updating an application at the moment that generates simple HTML
files. However, it's all done using plain strings and brute force.
It's hard to read, and isn't very robust in the face of special
characters and matching start and end tags.
I've been searching for a module to allow simple HTML
Hi
Thanks a lot Alan and Kent for the replies.
Cheers
Paulo
Kent Johnson wrote:
> Paulo Nuin wrote:
>> Hi Everyone
>>
>> I need to a write a script that would do a queuing job on a cluster
>> running openMosix Linux. I have checked the Queue module and that
>> part I can say it is covered. My
OK
Would it be ... er... uh... 'proper'... to put the maze in a module, then
make the actual movement of the .gif's in a class in a seperate file
(module)? I find the code required to build the maze to be quite large,
even with the refinenements. For now, at least, I can't figure out how
Thanos Panousis wrote:
> Hello list,
>
> I have been developing a network managemetn app for quite some time
> now. The list has provided me with valuable information.
>
> The time has come to write some kind of gui for it, so that graphs,
> visualizations and configuration options are exposed to
"Thanos Panousis" <[EMAIL PROTECTED]> wrote
> The time has come to write some kind of gui for it, so that graphs,
> visualizations and configuration options are exposed to non
> developers. Do you think that a web app frame work like turbogears
> is
> appropriate in my case?
Graphs etc on web a
Hello list,
I have been developing a network managemetn app for quite some time
now. The list has provided me with valuable information.
The time has come to write some kind of gui for it, so that graphs,
visualizations and configuration options are exposed to non
developers. Do you think that a
IDLE in Python 2.2.3 working fine on my laptop now. I'd like to give
Python 2.5.1 one more try though:-).
Looks like it didn't 'seem' to run not because there was something wrong
with the laptop or Windows as such, but because of the USER not being
patient enough. It's an old beaten up thing th
Rikard Bosnjakovic wrote:
> On 5/9/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
>
>> Please don;t hijack a thread to ask something unrelkated.
>> Start a new threead it helps keep things clear and makkes
>> it easier to find responses later.
>
> What do you mean by hijack a thread?
>
> Her subject
Thanks for all your contributions. i think i will do it all in Python, it
seems to me that the advantages far outweigh any negatives.
Maybe once its a working project, we can then benchmark the code and see
what gives.
Thanks again,
Lloyd
On 5/9/07, Eric Walstad <[EMAIL PROTECTED]> wrote:
He
"Alexander Kapshuk" <[EMAIL PROTECTED]> wrote
> I'd click on the IDLE icon, the hourglass thing
> would come up for a few seconds and then it
> would disappear.
>
> What could the problem be there?
Can you try starting IDLE from a command prompt?
ie. Using python idle.py
That may produce
On 5/9/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
> > Please don;t hijack a thread to ask something unrelkated.
> >Start a new threead it helps keep things clear and makkes
> >it easier to find responses later.
>
> What do you mean by hijack a thread?
>
> Her subject "Type conversion" is the only
30 matches
Mail list logo