Wednesday

try catch python: error handling in python

simple error handling in python:

try:
.... your code here ....
except Exception, e:
print "Error",i,e

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...