Please recommend a open source for Python ACLs function

2012-03-19 Thread Yang Chun-Kai
Hello Dear All: I would like to write some simple python test code with ACL(Access Control List) functions. Now simply I aim to use MAC address as ACL parameters, is there any good ACL open source recommended for using? Simple one is better. Any tips or suggestions welcomed and appreciated.

python2.7 kill thread and find thread id

2012-01-03 Thread Yang Chun-Kai
Hello,guys!! I am using python2.7 to write a simple thread program which print the current running thread id and kill it with this id. But I have some questions with this. My code: -from threading import Threadclass t(Thread): def

RE: python2.7 kill thread and find thread id

2012-01-03 Thread Yang Chun-Kai
Sorry for the misarrangement of my code in list, it happens everytime. I apologized. From: waitmefore...@hotmail.com To: python-list@python.org Subject: python2.7 kill thread and find thread id Date: Wed, 4 Jan 2012 14:10:46 +0800 Hello,guys!! I am using python2.7 to write a simple thread

RE: Localhost client-server simple ssl socket test program problems

2011-12-16 Thread Yang Chun-Kai
To: python-list@python.org From: li...@cheimes.de Subject: Re: Localhost client-server simple ssl socket test program problems Date: Thu, 15 Dec 2011 20:45:43 +0100 Am 15.12.2011 20:09, schrieb Yang Chun-Kai: Server side error: File views.py, line 17, in module connstream

Localhost client-server simple ssl socket test program problems

2011-12-15 Thread Yang Chun-Kai
Hello,everyone!! I am writing a simple ssl client-server test program on my personal laptop. And I encounter some problems with my simple programs. Please give me some

RE: Localhost client-server simple ssl socket test program problems

2011-12-15 Thread Yang Chun-Kai
problems Date: Thu, 15 Dec 2011 20:45:43 +0100 Am 15.12.2011 20:09, schrieb Yang Chun-Kai: Server side error: File views.py, line 17, in module connstream = ssl.wrap_socket(newsocket, server_side=True, certfile=/etc/home/ckyang/PHA/testsslsocket/mypha.crt, keyfile=/etc/home/ckyang

RE: Localhost client-server simple ssl socket test program problems

2011-12-15 Thread Yang Chun-Kai
-list@python.org From: li...@cheimes.de Subject: Re: Localhost client-server simple ssl socket test program problems Date: Thu, 15 Dec 2011 21:19:14 +0100 Am 15.12.2011 21:09, schrieb Yang Chun-Kai: Thanks for tips. But I dont understand one thing is if Python's SSL lib doesn't support