Initial Revision
[ohcount] / test / expected_dir / py1.py / python / comment
1 # -*- coding: utf-8 -*-
2 # Python
3 # Suppose you want to spam your friend, and you have lots of
4 # friends. The solution is to write a program to do it. After a gander
5 # at python docs, one easily found the module for the job.
6 # see http://python.org/doc/2.3.4/lib/SMTP-example.html
7 # the code is a bit long with the command line, but the key lies at
8 # the bottom four lines. The gist is this:
9 ####### test: strings - nonsense code follows
10 ####### test done
11 # save this file as x.py and run it.
12 # it should send out the mail.
13 # the set_debuglevel() is nice because you see all the interactions
14 # with the smtp server. Useful when you want to see what's going on
15 # with a smtp server.