<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">I am attaching a word document 
copy of this EMail which might be easier to read and follow if your EMail window 
rearanges things to much.</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Arial 
size=2></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">I would like thank Dax Reyes and 
John Fouhy for taking the trouble to respond to my attempt to create 
an&nbsp;&nbsp;&nbsp;&nbsp; _.EXE&nbsp;&nbsp;&nbsp;&nbsp; from 
a&nbsp;&nbsp;&nbsp;&nbsp; Python program.<SPAN 
style="FONT-FAMILY: 'Arial Unicode MS'"><?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Arial 
size=2></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">The question now is; 
can&nbsp;the&nbsp;&nbsp;&nbsp; PY2EXE&nbsp;&nbsp;&nbsp; 
procedure&nbsp;make&nbsp;&nbsp;&nbsp;&nbsp; 
PROG.EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;( Or a set of files. ) 
from&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROG.PY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that 
will allow&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PROG.EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to run on a machine that does not 
have&nbsp; &nbsp; Python&nbsp;&nbsp; &nbsp;installed on it, and if so what has 
to be fixed and how?<BR><BR>I&nbsp;have 
created&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PROG.EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PROG.PY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;, but 
it&nbsp;appears&nbsp;&nbsp; <STRONG>NOT&nbsp;</STRONG> &nbsp;to be portable in 
that when I try to run<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>PROG.EXE<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>on my wife's machine which does not have&nbsp;&nbsp; Python&nbsp;&nbsp; 
installed on it I get a " See the logfile PROG.EXE log for 
details".&nbsp;&nbsp;The logfile&nbsp;has the following ;<BR 
style="mso-special-character: line-break"><BR 
style="mso-special-character: line-break"></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><BR><B 
style="mso-bidi-font-weight: normal"><SPAN style="COLOR: red">Traceback (most 
recent call last):<BR><BR>&nbsp; File "PROG.PY", line 364, in ?<BR><BR>&nbsp; 
File "PROG.PY", line 320, in Main<BR><BR>EOFError: EOF when reading a 
line<BR></SPAN></B><BR><BR><BR>Lines 320 and 364 are shown below.<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>Line 364 is the last line of the 
program.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>No line reference on 
the<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>EOFError<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>was given.<BR><BR><B 
style="mso-bidi-font-weight: normal"><SPAN style="COLOR: red">&nbsp;&nbsp;&nbsp; 
filename=raw_input("Enter destination and filename as &gt;&nbsp; 
C:\Name.STR&nbsp; &lt;: ")&nbsp;&nbsp;&nbsp;<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&nbsp; <SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN 
style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN 
style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN># line 320 listed in traceback 
log.<BR>Main()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN># line 360 listed in traceback log.<BR 
style="mso-special-character: line-break"><BR 
style="mso-special-character: line-break"><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><BR>The 6 lines of<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>&nbsp;&nbsp; 
PyToExe.PY&nbsp;&nbsp;&nbsp;&nbsp; used to make<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>PROG.EXE<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>, is shown below 
starting with<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>### in line 
#1.<BR><BR><B style="mso-bidi-font-weight: normal"><SPAN 
style="COLOR: red">###&nbsp; PyToExe.PY = file name.&nbsp;&nbsp;&nbsp; _.PY &gt; 
_.EXE<BR><BR>from distutils.core import setup<BR>import 
py2exe<BR><BR>setup(windows=['PROG.PY'])<BR></SPAN></B><BR>The<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&nbsp;DOS com line<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>command was :<B 
style="mso-bidi-font-weight: normal"><SPAN 
style="COLOR: red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PYTHON PyToExe.PY 
PY2EXE</SPAN></B>&nbsp; .<BR><BR style="mso-special-character: line-break"><BR 
style="mso-special-character: line-break"></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">The program,&nbsp;&nbsp; &nbsp; 
PROG.PY&nbsp;<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&nbsp; has no errors 
and runs fine under Python24, as does PROG.EXE&nbsp;&nbsp;&nbsp;&nbsp;<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>on a Python equipped machine.&nbsp; 
Actually I can delete &nbsp;&nbsp;&nbsp;PROG.EXE&nbsp;&nbsp;&nbsp; and double 
click the<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>PROG.PY&nbsp;&nbsp;&nbsp;&nbsp; icon in the&nbsp;&nbsp;&nbsp;&nbsp; 
Python24&nbsp;&nbsp;&nbsp; folder and it runs fine. </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">I am running an XP machine with a 
1.8 GHz CPU, 700 Meg of memory and 36 Gbyte of free space on disk.<BR><BR>I am 
attaching<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>PROG.PY<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>in case 
anyone has any questions on it.</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">At some point over the course of 
trying to run<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>PROG.EXE<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>it was 
indicated that<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>Python24.dll<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>was 
missing so it has been copied into the<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>DIST<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>folder where </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>PROG.EXE<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>is located as 
well as<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>WINDOWS\SYSTEM32\DRIVERS<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>,<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></P><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>WINDOWS<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>and<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>WINDOWS\SYSTEM<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>.<BR><BR>Jack 
Anema<BR style="mso-special-character: line-break"></SPAN></FONT></FONT><FONT 
face=Arial size=2></DIV></FONT></BODY></HTML>