examples of logger using smtp
I am hoping to find some simple examples of how to create a logger instance using smtphandler. I don't want to create a separate ini file. I just want to sent the smtphost, from, to right in the code when I instantiate the logger. I can't seem to find simple code on how to do this. Any pointers ? -- http://mail.python.org/mailman/listinfo/python-list
rules of thumb for cross os code
I am considering using python as a replacement for a lot of bash scripting that I have been doing. I would like to be as cross platform as possible, writing scripts for both windows and linux. Are there any guides are general rules of thumb on 1) keeping code os independant 2) nifty lambda's or other things to create functions fit for the environment 3) capturing return codes of other executables called from python; ie use os.system, or popen? or ? -- http://mail.python.org/mailman/listinfo/python-list
pickle passing client/server design
I am contemplating the need for a way to handle high speed data passing between two processes. One process would act as a queue that would 'buffer' data coming from another processes. Seems that the easiest way to handle the data would be to just pass pickles. Further, I'm thinking that using a unix domain socket would make this a simple way to pass high volumes of pickles. Are there any examples of an architecture like these, where a process is a client, sending pickles to a server listening on a domain socket? I'm am thinking there would be a need to have a semaphore, and some ACK or NACK that the server process got the whole pickle. -- http://mail.python.org/mailman/listinfo/python-list
installing 2.6 on vista64
I just downloaded and attempted to install python 2.6.2. The installer proceeds to do its work then dies, leaving an entry in the eventlog: Windows Installer installed the product. Product Name: Python 2.6.2. Product Version: 2.6.2150. Product Language: 1033. Installation success or error status: 1602. Googling for this I wasn't able to narrow the results down to something usable. Anyone know of issues and how to fix them installing on vista 64 (yes, I have 8 gigs of ram) -- http://mail.python.org/mailman/listinfo/python-list