[Python-au] py2exe question.

Mark Hammond mhammond@skippinet.com.au
Mon, 28 Apr 2003 20:57:19 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_04DA_01C30DC8.C2CB0090
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Try posting your question to python-win32@python.org - there are alot more
Python on Windows experts there than here :)

Mark.
  -----Original Message-----
  From: python-au-admin@python.net [mailto:python-au-admin@python.net]On
Behalf Of sense gin
  Sent: Monday, 28 April 2003 6:05 PM
  To: python-au@python.net
  Subject: [Python-au] py2exe question.


  Dear Python experts,

  Hi, I am newbie to py2exe, I came to know py2exe from
  starship.

  It is so impressive and it's really a fantastic tools
  to compile py scripts and all necessary libs into dll
  and exe files in Win32 environment.
  I have a question here. Hope that you can help me.

  Scenario:
  (1) I am using using Python 2.2.2 and py2exe 0.3.3.
      I have writen 5 py scripts (a.py, b.py, c.py ...)
  in c:\www\scripts.

  (2) I want to compile all these py scripts to exe
  files into c:\www\cgi-bin. So that, I could execute
  from web.

  (3) How to compile multiple py scripts and maintain
  single copy of python22.dll and *.pyd in
  c:\www\cgi-bin?
  Example: $ cd c:\www\cgi-bin
           $ dir/w
           a.exe, b.exe, c.exe, d.exe, e.exe
           python22.dll, _sre.pyd

  Anyone know the way to do it?
  Appreciate on your help.
  Thanks in advance.
  Regards,
  Sensegin


----------------------------------------------------------------------------
--
  Do you Yahoo!?
  The New Yahoo! Search - Faster. Easier. Bingo.

------=_NextPart_000_04DA_01C30DC8.C2CB0090
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D343395610-28042003><FONT face=3DArial color=3D#0000ff =
size=3D2>Try=20
posting your question to <A=20
href=3D"mailto:python-win32@python.org">python-win32@python.org</A> - =
there are=20
alot more Python on Windows experts there than here =
:)</FONT></SPAN></DIV>
<DIV><SPAN class=3D343395610-28042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D343395610-28042003><FONT face=3DArial color=3D#0000ff =

size=3D2>Mark.</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
python-au-admin@python.net=20
  [mailto:python-au-admin@python.net]<B>On Behalf Of </B>sense=20
  gin<BR><B>Sent:</B> Monday, 28 April 2003 6:05 PM<BR><B>To:</B>=20
  python-au@python.net<BR><B>Subject:</B> [Python-au] py2exe=20
  question.<BR><BR></FONT></DIV>
  <DIV><FONT face=3Dcourier>Dear Python experts,</FONT></DIV>
  <DIV><FONT face=3Dcourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>Hi, I am newbie to py2exe, I came to know =
py2exe=20
  from<BR>starship.</FONT></DIV>
  <DIV><FONT face=3DCourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>It is so impressive and it's really a =
fantastic=20
  tools<BR>to compile py scripts and all necessary libs into dll<BR>and =
exe=20
  files in Win32 environment.</FONT></DIV>
  <DIV><FONT face=3Dcourier>I have a question here. Hope that you can =
help=20
  me.</FONT></DIV>
  <DIV><FONT face=3Dcourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>Scenario:<BR>(1) I am using using Python =
2.2.2 and=20
  py2exe 0.3.3.<BR>&nbsp;&nbsp;&nbsp; I have writen 5 py scripts (a.py, =
b.py,=20
  c.py ...)<BR>in c:\www\scripts.</FONT></DIV>
  <DIV><FONT face=3Dcourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>(2) I want to compile all these py scripts =
to=20
  exe<BR>files into c:\www\cgi-bin. So that, I could execute<BR>from=20
  web.</FONT></DIV>
  <DIV><FONT face=3Dcourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>(3) How to compile multiple py scripts and=20
  maintain<BR>single copy of python22.dll and *.pyd=20
  in<BR>c:\www\cgi-bin?</FONT></DIV>
  <DIV><FONT face=3Dcourier>Example: $ cd=20
  c:\www\cgi-bin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $=20
  dir/w<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a.exe, =
b.exe, c.exe,=20
  d.exe, e.exe <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  python22.dll, _sre.pyd </FONT></DIV>
  <DIV><FONT face=3Dcourier></FONT>&nbsp;</DIV>
  <DIV><FONT face=3Dcourier>Anyone know the way to do it?<BR>Appreciate =
on your=20
  help.<BR>Thanks in advance.</FONT></DIV>
  <DIV><FONT face=3Dcourier>Regards,<BR>Sensegin</FONT></DIV>
  <P>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR><A=20
  =
href=3D"http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">T=
he New=20
  Yahoo! Search</A> - Faster. Easier. Bingo.</BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_04DA_01C30DC8.C2CB0090--