Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

how to make python codes executable on any windows PC. that is changing the .py extension to .exe.

how to make python codes executable on any windows PC. that is changing the .py extension to .exe.

1 Answer

To convert from .py to .exe you need to use a script called py2exe. Follow the link I've provided and read the documentation there.

On a side note it may be easier to deploy your program as a website (via flask or pyramid) so that when you update the software you don't have to push new versions to all of your users.