Member Avatar for sravan953

Hey guys.....

I have a small program which I created called 'password.py'....I wanted to share it with my friends and so on.....which is why I installed Py2exe.

But it doesn't seem to work, I've used this code:

from distutils.core import setup
import py2exe

setup(console=['password.py'])

and saved it as 'compiler.py'. I used command prompt, and compiled the program. I gave my friends both the build and dist folders(they don't have Python installed)....but he says it doesn't work!

He says that an error dialog box opens saying that 'reinstalling might fix the problem'...but nothing was installed in the first place! :confused: Please, tell me what is going on... :'(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.