Re: [Tutor] Tk help

2010-01-11 Thread Kirk Vander Meulen
eh print statements, I was using python 3 syntax but running python 2.6...I just like the 3 syntax better, sorry for the confusion. The extra prints were just me getting carried away with debugging, I love printing stuff. Kirk > "Kirk Vander Meulen" wrote > > > I'm workin

[Tutor] tk help

2010-01-10 Thread Kirk Vander Meulen
I'm working on a program partly to get the hang of gui programming. I'm a bit puzzled by the behavior of simple dialogs- I wonder why, in the following code, the second call to tkMessageBox.askyesno always returns 'False' (either 'yes' or 'no' return False!). If I take out the call to tkFileDialo

[Tutor] replacing CreateProcess command for Vista compatibility?

2008-01-10 Thread Kirk Vander Meulen
Hi, I'm running the program Pymol (written in python) on Windows Vista, and in trying to run one of its plugins, I em encountering the following error: Error: 3 WindowsError Exception in Tk callback Function: at 0x027C6DF0> (type: ) Args: () Traceback (innermost last): File "C:\Program File

[Tutor] internet access

2007-10-10 Thread Kirk Vander Meulen
Hi, I'd like to write a script that limits internet access to certain hours of the day. This seems like it should be simple but I'm not very experienced with any programming that involves networking. Can someone point me in the right direction on this- I'm sure I can figure out how to use a calen

[Tutor] string object into reference

2006-01-17 Thread Kirk Vander Meulen
Hi, just joined.  I've got a question that I'm guessing there's a ridiculously easy answer to, but I'm having trouble (no excuses, I'm just dumb!)... My problem is I want to make a string object into a reference to another object.  To be more specific, I'm reading through a text file of amino acid