Windows getting local ip address

2006-03-22 Thread SolaFide
On Linux, it is a simple matter to get the local ip address with system.os(ifconfig /tmp/ip); ip=open(/tmp/ip).readlines(), etc. How can I do this with Windows? -- http://mail.python.org/mailman/listinfo/python-list

Threading - will threads run in parallel?

2006-02-28 Thread SolaFide
I have 2 threads that I want to run at the same time: for instance: from threading import Thread class test(Thread): def run(self): while True: get(asdf) class test2(Thread): def run(self): while True:

Re: Threading - will threads run in parallel?

2006-02-28 Thread SolaFide
Thanks! The problem is on Windows: when I run c:\python24\myprogram.py, it has a command window open up. If I close it, the program ends. So I want it to run without opening that window. -- http://mail.python.org/mailman/listinfo/python-list

TKinter

2005-08-20 Thread SolaFide
I want to create the window and contents in a class, and then use a separate function to write text to the buttons. Then when it clicks a button, I want it to call a check() function to see if that was the right button and then write some new stuff to the buttons. So far it displays the window all

What module to use to get a file from a website?

2005-07-15 Thread SolaFide
I'm sure this is builtin, I just don't know what module. Thank you for any help! Billt -- http://mail.python.org/mailman/listinfo/python-list

Re: What module to use to get a file from a website?

2005-07-15 Thread SolaFide
Thanks! -- http://mail.python.org/mailman/listinfo/python-list