Giter Club home page Giter Club logo

py2exe's Introduction

py2exe

python程序 ==> exe可执行文件 纯净版转换器(自动删除多余文件,只保留最后转换好的exe文件)

简介

该程序是对 PyInstaller 简单封装,在这之上删除生成过程中多余的文件夹、文件

干净的把python程序转换为exe可执行文件。

exe可执行文件可在没有安装python的windows环境中运行。

使用也很简单,把带转换python文件拖到转换器上,松手,等待运行完毕即可。
同级目录下会多出一个同名的exe文件。

如何使用

step 1:下载项目

git clone https://github.com/windcode/py2exe.git

step 2:解压PyInstaller,安装pywin32

step 3:将待转换.py文件拖到py2exe.py转换器上,等待

转换完成,会在当前目录多出一个转换文件的同名exe可执行文件,把这个文件拷走就可以在没有python环境的pc上运行了。

注意

  • 运行环境为 windows7 + python2.7
  • 解压 PyInstaller-3.1.1.zip 时选择 解压到当前文件夹

py2exe's People

Contributors

elliotxx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.