Bobby J. Howerton Jr. wrote:
> Hello,
> I am new to programming in Python, but I am very excited about the 
> possibilities that it (Python) has.
>
> I maybe jumping the gun a little bit here, but this is what I would
> like to do:
> ********************************************************************************************
>
> I would like to create an executable program that when ran it will
> search my hard drive for certain folders that contain different
> files. Once the program finds these folders, I would like the program 
> to zip each of the folders up and then e-mail each of the folders to a 
> certain e-mail address.
>
> ********************************************************************************************
> Is this possible??? I have been told by someone else that it is…I
> just want to make sure.
yes.
you can do anything in Python you can do in C.
>
> If this is possible…How would I do this (please remember that I am new 
> to Programming in Python).
use the zlib module for packaging the items
use the os.walk function to walk your directories
use smtplib to e-mail the zips
get the address of your smtp server from your e-mail client
or use sendmail if on linux.
use py2exe to make it an executable.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to