I developed a program I think has potential, but don't want the end user to a) have to download python and b) steal my code. How would I turn it the .py of my script into a .bat or .exe so my end user can run it?
Jump to Post
Probably the simplest way to make it a .bat is to make an exe that will write a .bat, execute the .bat, then delete the .bat.
In short, if you plan on distributing in windows, make it an exe. py2exe is the standard from what I understand. Your other options …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.