how to get all users that currently logged in?

2006-03-13 Thread iclinux
we can do it with 'who' in *nuix, but os.getlogin() returns only the user of the current process... how to do it by python, any suggestions? Best Regards. -- http://mail.python.org/mailman/listinfo/python-list

two questions about thread

2006-01-14 Thread iclinux
hi there, I'm new to python, and have two questions: a. how to exit the whole process in a thread? b. when thread doing a infinite loops, how to terminate the process?: it seems that the follow doesn't work, in my Windows XP: thread.start() thread.join() Regards --

questions about py2exe and wax

2005-12-30 Thread iclinux
Using py2exe, I can convert a GUI Application with PythonCard to a standalone windows program, and it works. Then I try another GUI Toolkit named Wax, implement a GUI App, it works. And I convert that app by py2exe. But this time, when run, it show a messagebox that says: """ This application req

Re: some suggestions about GUI toolkits?

2005-12-29 Thread iclinux
thanks all, There're so many GUI toolkits that make newbie(like me) feel confused. If there's a much up-to-date evaluation about that, things may become easier. Now, I'm trying PythonCard(http://pythoncard.sourceforge.net/). and hope everything goes well: ) -- http://mail.python.org/mailman/list

some suggestions about GUI toolkits?

2005-12-28 Thread iclinux
I have to build a GUI applicaiton that could run on different OS such as windows and *nix, which GUI toolkit is better? Best Regards. -- http://mail.python.org/mailman/listinfo/python-list

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
thanks all ! I've solved this problem: Let me show my net environment first. My pc is in a local network, and through a proxy server can I reach the Internet, so I changed my Internet Settings. It seems that everything goes well, I can surf Internet, etc, but what a pity, I can't resolve a host

Re: Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
I can visit those two websites above, but when I run your code, I get those errors(BTW,I have closed my firewall ): >>> import socket >>> socket.getaddrinfo("www.xmethods.net", 80) Traceback (most recent call last): File "", line 1, in -toplevel- socket.getaddrinfo("www.xmethods.net", 80) g

Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code of "Example 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors as follow. Will you plea

Some errors when running code in diveintopython: (

2005-12-23 Thread iclinux
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code of "Example 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors as follow. Will you plea