File: pylotto-orig-run.txt

[normal mode]


C:\Users\mark\Stuff\Websites\public_html>pylotto.py
pop email password?
b'+OK <13089.1294763078@p3pop01-25.prod.phx3.secureserver.net>'
(b'+OK ', [b'1 1860', b'2 1049', b'3 1038', b'4 957', b'5 1037', b'6 984', b'7 3553',
 b'8 2109', b'9 572631', b'10 1272450', b'11 1502', b'12 1535', b'13 1476', b'14 3942
5', b'15 59519', b'16 11673', b'17 60278', b'18 223678', b'19 908066', b'20 944596',
b'21 223654', b'22 263996', b'23 223933', b'24 288643', b'25 223695', b'26 288645', b
'27 264070', b'28 288659', b'29 27385', b'30 264006', b'31 265377', b'32 225839', b'3
3 949', b'34 973'], 331)
message 1 of 34...
message 2 of 34...
message 3 of 34...
message 4 of 34...
message 5 of 34...
message 6 of 34...
message 7 of 34...
message 8 of 34...
message 9 of 34...
message 10 of 34...
message 11 of 34...
message 12 of 34...
message 13 of 34...
message 14 of 34...
message 15 of 34...
message 16 of 34...
message 17 of 34...
message 18 of 34...
message 19 of 34...
message 20 of 34...
message 21 of 34...
message 22 of 34...
message 23 of 34...
message 24 of 34...
message 25 of 34...
message 26 of 34...
message 27 of 34...
message 28 of 34...
message 29 of 34...
message 30 of 34...
message 31 of 34...
message 32 of 34...
message 33 of 34...
message 34 of 34...
Players:
['lutz@rmi.net', 'lutz@learning-python.com']
Winners:
['lutz@learning-python.com', 'lutz@rmi.net']


------------------------------------------------------------------

[test mode]


C:\Users\mark\Stuff\Websites\public_html>pylotto.py test
pop email password?
Connecting...
From: lutz@rmi.net
To: PP4E@learning-python.com
Subject: PYLOTTO
Date: Tue, 11 Jan 2011 16:21:53 -0000

Signing up for lotto...

Connecting...
From: lutz@learning-python.com
To: PP4E@learning-python.com
Subject: PYLOTTO
Date: Tue, 11 Jan 2011 16:21:54 -0000

Signing up for lotto...

[pausing...]
b'+OK <3933.1294762947@p3pop01-19.prod.phx3.secureserver.net>'
(b'+OK ', [b'1 1860', b'2 1049', b'3 1038', b'4 957', b'5 1037', b'6 984', b'7 3553',
 b'8 2109', b'9 572631', b'10 1272450', b'11 1502', b'12 1535', b'13 1476', b'14 3942
5', b'15 59519', b'16 11673', b'17 60278', b'18 223678', b'19 908066', b'20 944596',
b'21 223654', b'22 263996', b'23 223933', b'24 288643', b'25 223695', b'26 288645', b
'27 264070', b'28 288659', b'29 27385', b'30 264006', b'31 265377', b'32 225839', b'3
3 973', b'34 949'], 331)
message 1 of 34...
message 2 of 34...
message 3 of 34...
message 4 of 34...
message 5 of 34...
message 6 of 34...
message 7 of 34...
message 8 of 34...
message 9 of 34...
message 10 of 34...
message 11 of 34...
message 12 of 34...
message 13 of 34...
message 14 of 34...
message 15 of 34...
message 16 of 34...
message 17 of 34...
message 18 of 34...
message 19 of 34...
message 20 of 34...
message 21 of 34...
message 22 of 34...
message 23 of 34...
message 24 of 34...
message 25 of 34...
message 26 of 34...
message 27 of 34...
message 28 of 34...
message 29 of 34...
message 30 of 34...
message 31 of 34...
message 32 of 34...
message 33 of 34...
message 34 of 34...
Players:
['lutz@rmi.net', 'lutz@learning-python.com']
Winners:
['lutz@rmi.net']


------------------------------------------------------------------

[as-CGI mode, via global variable setting and pswd file]


C:\Users\mark\Stuff\Websites\public_html>pylotto.py
Content-type: text/html

<HTML>
<TITLE>PyLotto</TITLE>
<BODY><H1>PyLotto Results</H1>
<P><PRE>
Players:
['lutz@rmi.net', 'lutz@learning-python.com']
Winners:
['lutz@learning-python.com', 'lutz@rmi.net']
</PRE></P></BODY></HTML>


------------------------------------------------------------------

[interactive use]


% python
>>> import pylotto
>>> pylotto.sendTestMails()
Connecting...
From: lutz@rmi.net
To: PP4E@learning-python.com
Subject: PYLOTTO
Date: Tue, 11 Jan 2011 16:13:25 -0000

Signing up for lotto...

Connecting...
From: lutz@learning-python.com
To: PP4E@learning-python.com
Subject: PYLOTTO
Date: Tue, 11 Jan 2011 16:13:26 -0000

Signing up for lotto...

>>> pylotto.main('XXXXXX')
b'+OK <7271.1294762460@p3pop01-06.prod.phx3.gdg>'
(b'+OK ', [b'1 1860', b'2 1049', b'3 1038', b'4 957', b'5 1037', b'6 984', b'7 3553',
 b'8 2109', b'9 572631', b'10 1272450', b'11 1502', b'12 1535', b'13 1476', b'14 3942
5', b'15 59519', b'16 11673', b'17 60278', b'18 223678', b'19 908066', b'20 944596',
b'21 223654', b'22 263996', b'23 223933', b'24 288643', b'25 223695', b'26 288645', b
'27 264070', b'28 288659', b'29 27385', b'30 264006', b'31 265377', b'32 225839', b'3
3 973', b'34 972', b'35 948', b'36 973', b'37 948'], 355)
message 1 of 37...
message 2 of 37...
message 3 of 37...
...more...
message 35 of 37...
message 36 of 37...
message 37 of 37...
Players:
['lutz@rmi.net', 'lutz@learning-python.com']
Winners:
['lutz@rmi.net', 'lutz@learning-python.com']
>>>



[Home] Books Programs Blog Python Author Training Search Email ©M.Lutz