Python Tutorial: Convert .PY to .EXE using Py2exe

preview_player
Показать описание
Use py2exe and the steps I outline in the video to turn any python 2.7 py file into an exe.

Рекомендации по теме
Комментарии
Автор

This was super helpful. I read the py2exe tutorials, but your walk-though made it much easier. Thanks!

JeffPittman
Автор

This is the only tutorial that works for me so far. Make sure of two things:
1. You have Python 2.7 installed. It does not work for any other versions.
2. You download exactly the same py2exe file, even if you have 64-bit system!! I actually downloaded the 64 bit version and it did not work. I tried Pyinstaller and it did NOT work for me. I came back to py2exe and it took me a quite a while to figure out that the problem was actually with the version. It finally worked after the whole afternoon's frustration. Thanks Ben!

waynehou
Автор

trust me the one who searched about converting python to exe... doesnʻt need to learn about why ...cuz its wasting 8 min in his life watching that. the question is how

ibrahimaltaha
Автор

Great tutorial, explicit and very usefully. Thanks

dejanualex
Автор

Py2exe has been updated for python 3...
So this is outdated... But still relevant.

jaffacookie
Автор

IndexError: tuple index out of range getting error when trying to convert python to exe using 3.x.x version of python

jahpanah
Автор

Thanks! The whole video is a really useful tutorial! You helped me a lot!

matyaskatona
Автор

Anyone else got very angst with that missing ')'? Good video though Benjamin :)

nicolaspettican
Автор

Thanks for this information very important and thanks very much
but how to change icon for program python

ZTsarmadOne
Автор

i need a help
actually i am able to convert a file from .py to .exe but unable to run it on that pc which doesn't have python installation,
so kindly give me solution how do i run that .exe file on pc that doesnt have python installation

vk
Автор

I'm sorry but when actually running those commands as said, the cmd returns an error saying compile() expected string without null bytes. Please help me solve this problem.

randomdude
Автор

i can't find a dll file i need for converting my program to .exe

rohitroy
Автор

I'm using a mac, can I create an exe that will run on windows using it? Or is it an exec that will only work on macs?

melisabagcvan
Автор

So how would we bundle up the program and send it to one of our friends?

MrHarjas
Автор

How can I solve when appears this: Error MSVCP90.dll: No such file or directory

gatzsandrofuertesosorio
Автор

Is it possible to put everything in one file. So it all would be in one exe

lewisross
Автор

when i try to install py2exe it says that python 27 cannot be located in the registry. i am using windows 8.1 and i've tried using the 32 bit version, but then it outs it in panda3d, and then the command does not work

boobeebah
Автор

i get this. however it gives me a compiled python file?
1 missing Modules

? readline imported from cmd, code, pdb
Building
error: [Errno 2] No such file or directory

JoeFish
Автор

does this not work with python 2.7.9?  Everytime I try to install py2exe it bugs out...

nickf
Автор

Cool = this baby even supports wxPython apps!
Many thanks, Ben :-)

gendash