Home | Categories | Sources | Sites | Languages | About
Note: The project has been discontinued
I started using py2exe recently to convert my Python scripts to executables. Pretty good. Anyway, to make things a wee bit easier, I wrote a small Batch file. Thought it'd be useful in case you plan to use py2exe. Here's the batch file: rem Batch file to automate creation of Python executables... rem ...using py2exe... rem ...(http://starship.python.net/crew/theller/py2exe/) rem Batch file by Premshree Pillai (http://www.qiksearch.com/) @echo off echo (After each input press return, ^z and return again) echo Enter the file name whose executable you want to create: echo (...use relative or absolute path) copy config\1.txt + con config\temp1.bat echo Enter the setup name to be created: echo (...should be same as file name, without the extension) copy config\2.txt + con config\temp2.bat call config\temp1.bat del config\temp1.bat call config\temp2.bat del config\temp2.bat echo from distutils.core import setup > config\set.py echo import py2exe >> config\set.py echo ...
05:31:26 November 16, 2003, Sunday (PST) Source: Premshree Pillai

Additional Info

First Fetched: 05:46:59 02/03/2004
Last Updated: 19:56:31 03/29/2004