Python SSL Client Authentication

2009-10-02 Thread AJ Mayorga
I have been able to use the ssl module in Python 2.6 to setup a server that requires The client to authenticate via an x509 certificates, but I want to be able to override the client Authentication process or catch the exception so that I can do redirects etc. if the client authentication Fails.

RE: Imports in python are static, any solution?

2009-04-13 Thread AJ Mayorga
For something like this I generally create a superclass to hold configuration variables that will change overtime, doing that will save you from insanity. Class configVar: #set initial values Def __init__(self): Self.A = 5 Self.B = 10

Python inside C++

2009-04-13 Thread AJ Mayorga
Hello all, I am looking for a way to statically compile pythonxx.dll into my C++ application, so that I can use It as an internal scripting language and either run the native python code or take an ELF from py2exe/pyinstaller and run that. The machines that will have my C++ app running on the