Giter Club home page Giter Club logo

pydemodaemon's Introduction

PyDemoDaemon

PyDemoDaemon

#编译 pyinstaller -F PyDemoDaemon.py

#编译-带版本信息 pyinstaller -F --version-file=file_version_info.txt PyDemoDaemon.py

#编译-带图标带版本信息 pyinstaller -F --icon=PyDemoDaemon.ico --version-file=file_version_info.txt PyDemoDaemon.py

1.Q:如何将Python打包成exe?

A:Python 如何将项目打包成exe可执行程序

exe生成路径:PyDemoDaemon\dist\PyDemoDaemon.exe
exe运行路径(默认):C:\Soft\PyDemo\PyDemoDaemon.exe  #手动创建相关目录,并将exe拷贝到该路径即可,注意程序及其守护进程在同一个目录并共享同一个db文件

2.如何生成ico图标?

A:ico在线转换工具

3.Q:如何手动安装依赖?

pip install requests
pip install psutil
pip install wmi #设备id相关
pip install pyinstaller #编译相关

4.Q:如何修改成其它项目名(如:PyDemoDaemon->PythonDemoDaemon)?

A:

PyDemo -> PythonDemo
pyDemo -> pythonDemo
py_demo -> python_demo
PY_DEMO -> PYTHON_DEMO

database/PyDemoSqliteSql.py-> database/PythonDemoSqliteSql.py
PyDemoDaemon.py -> PythonDemoDaemon.py
PyDemoDaemon.ico -> PythonDemoDaemon.ico
file_version_info.py 中 CompanyName  FileDescription FileVersion filevers prodvers

pydemodaemon's People

Contributors

handsomezhou 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.