from here i dont know what to do ......i know u have to make a setup script and then add a module that will build it i dont know . Can you help me pls i dont know what to do ,, i got a setup script the is a example here it is

from distutils.core import setup
import py2exe

setup(
# The first three parameters are not required, if at least a
# 'version' is given, then a versioninfo resource is built from
# them and added to the executables.
version = "0.5.0",
description = "py2exe sample script",
name = "py2exe samples",

To run the setup.py script you posted (assuming it is complete on your machine - it isn't in your post) you must type:c:\python23\python setup.py py2exe
This is why your code did not compile - setup is complaining that you did not supply it with a command

I notice your program has a space in the file name - this is not good practice. I recommend you rename it to something like ohms_law.py. That way you don't have to know how the OS or a python module that processes the path will handle spaces.

help

sorry, but i m still havin problems,im confuse. do paste the setup script in my program in the end or at the beginning?or if not what do i have to do, im a rookie at this....can u show me and example and fix my app so i can turn it in a win32app..i need an example so i can learn.

I was trying to figure this one out too and found some sample setup.py scripts that worked for me. I was using Boa Constructor so in the editor window I had to set my comandline parameters, go to File, Set Commandline Parameters and put py2exe in the text box and run your setup.py file.

but i got one question. Why did you re edited my script. Cuase now i really dont understand and the new stuff that u added jajajaa . Is is neccesary for my future program or can i make program the way i made it the first teim?