Re: What can I do with Python ??

2005-01-01 Thread LutherRevisited
Speaking of the many libraries people have written I thought I'd mention pychess. Don't remember where I found it, but it's easy enough to find on a search engine. That's the whole reason I discovered python, searching for a good algorithm to use in parsing chess pgn files. -- http://mail.python

Re: Repainting

2004-12-29 Thread LutherRevisited
Thanks, yielding has solved all remaining problems I had with this gui. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE

2004-12-29 Thread LutherRevisited
Just looking it appears you are trying to install SPE in Python24, which I don't think will work. Myself I'm still on Python23 because IDEs haven't caught up yet. I believe if you put Python23 in and install it there it will work. On another note you may want to get Boa-constructor instead. Not

Compiled bytecode

2004-12-29 Thread LutherRevisited
This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a bytecompiled file. -- http://mail.python.org/mailman/listinfo/python-list

Repainting

2004-12-28 Thread LutherRevisited
I have an application that uses a WxListCtrl to hold data that is updated extremely fast. When I run my application the listctrl updates so fast that it practically disappears. Is there a way I can have it update with the user seeing it update rapidly without the dissapearing? Right now I have u

Re: WxListBox

2004-12-27 Thread LutherRevisited
This was the aforementioned doublepost guys, thanks for all the help though. At that point I was using WxGlade if you were wondering, that's why my controls have such funny names, glade did it!..lol I've since then got my gui to a point where I can live with it, other than the sizing problem when

Re: WxButton

2004-12-26 Thread LutherRevisited
Disregard all my posts on this thread, I just downloaded Boa-constructor which has WxDialogs making my life so much simpler. Thanks for all the help though. I was using SPE which uses WxGlade to make gui's, which isn't so bad if you're familiar with the way Java works on GUIs that is, but Boa-Con

Re: WxButton

2004-12-26 Thread LutherRevisited
Yes I have actually, I still can't figure out how to have my application detect if a control has focus. If I could, I could just use the keydown event with an if statement to push my button when it has focus and enter is pressed. -- http://mail.python.org/mailman/listinfo/python-list

Re: WxButton

2004-12-26 Thread LutherRevisited
That's kindof where I want to go, how can I detect whether or not my button has focus. Basically I only want to press it with enter if it has focus. -- http://mail.python.org/mailman/listinfo/python-list

WxListCtrl

2004-12-26 Thread LutherRevisited
Is there any way I can disable just the horizontal scroll bar for a listctrl? When enough items have been added for it to scroll vertically a horizontal bar also appears, even though you don't need it at all. I've played around with sizing individual columns and haven't seemed to come up with any

double post

2004-12-25 Thread LutherRevisited
I think I did a double post on WxListBox, my apologies, I wasn't seeing it show up and I didn't take into account the holidays...sorry. -- http://mail.python.org/mailman/listinfo/python-list

WxButton

2004-12-25 Thread LutherRevisited
I have a simple application in a Frame, in it I have a button that I want to press when I hit enter. How can I do this? I know with textctrl's you have the EVT_TEXT_ENTER event to do things for you when enter is pressed, can I do the same with a button. I know in WxWidgets for C++ you can put it

WxListBox

2004-12-25 Thread LutherRevisited
I'm wanting to put a listbox in the place of a textctrl I'm using in my application because I'm running out of space in my textctrl. The online documentation is down at wxpython.org so I have no idea how to construct this control or anything. Can someone help me out. Here's what I'm doing with t

Re: Complementary language?

2004-12-25 Thread LutherRevisited
I'm a big fan of C# myself, it kinda takes the good from C++ and Java and combines them in a way. -- http://mail.python.org/mailman/listinfo/python-list

WxListBox

2004-12-25 Thread LutherRevisited
wxpython.org's onlinedocs are down right now so bear with me. Here's my problem, currently I'm using a wxtextctrl to enter output in, I'm running out of rows with the wxtextctrl so I thought to use a listbox like I would in another language. I'm unsure how it is constructed or how to add items to

Setting Focus in WxTextCtrl

2004-12-08 Thread LutherRevisited
I'm wanting to know how I would go about setting the focus to the next text field after I press enter. I'm guessing it's gonna be EVT_TEXT_ENTER(yada yada) calling some function which will move the focus, but I don't know how to move the focus. I know in .NET text boxes have a focus method which

Re: How is Python designed?

2004-12-07 Thread LutherRevisited
Kinda off subject, just thought I'd add that 0! = 1 for that recursion example, since that wasn't considered. Nice post though. -- http://mail.python.org/mailman/listinfo/python-list

2D array

2004-12-07 Thread LutherRevisited
I'm wanting to do something with a list that is basically a 2 dimensional array. I'm not so good with lists so can someone give me an example of how I might implement this in Python? thanks. -- http://mail.python.org/mailman/listinfo/python-list