The first example we'll use here is our old friend.ġ from re import setup 2 import py2exe 3 4 setup( console=) If py2exe fixes a broken program, then that's probably a bug in py2exe that needs to be fixed! It's important that you make sure everything is working before you use py2exe. Luckily there is help available at WorkingWithVariousPackagesAndModules. Many modules just work seamlessly with py2exe, but some third party modules will require a little extra work. The vast majority of things you can do with Python will work with py2exe. The good news is that py2exe typically has little or no impact on this step. The biggest step is almost always the first one. Running the redistributable C runtime installer Providing the Microsoft Visual C runtime DLLĥ.2.2. There are a few simple steps needed to use py2exe once you've installed it: Install py2exe on your Windows computer using pip: pip install py2exe You'll also need to know how to run Python programs from the command prompt. To successfully complete this tutorial you'll need to know the basics of Python (you can get started at 's getting started page). Python is needed on the computer where py2exe itself is run because py2exe is a Python program and it includes parts of Python in the package that is built. You must run py2exe on a Windows computer. Py2exe turns Python programs into packages that can be run on other Windows computers without needing to install Python on those computers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |