Hello,
I have a script which updates a bunch of windows machines with some new software. If the software has never been installed on those machines before, I need to add the path to that software into the windows path environment variable permanently.
here's what I do.
newpath = 'c:\\newapp'...
i am using the smtplib module to send email from python script.
I would like to have a subject in the emails I send. but cant seem to figure out how to do that.
here's the script:
import smtplib
import string
fromaddr = 'foo@foo.com'
toaddr = 'foo@foo.com'
msg = ("From: %s\r\nTo...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.