Giter Club home page Giter Club logo

bing2me's Introduction

自动更新win10壁纸

  • Python3.7, sqlite
  • 采集必应首页图片,设置为桌面壁纸
  • 待完成列表 TODO.md
  • 资源目录;$USER/.bing2me/

目录结构

│  bing2me.db
│  README.md
│  TODO.md
├─bing-pic
├─icons
├─src
│  │  bing_request.py
│  │  common.py
│  │  database.py
│  │  main.py
│  │  util.py
│  │  bing2me.py
|  |  log.py
└─test
      request.py

python 运行时所需要的包

  • pip install pywin32
    • 需要把win32文件夹两个DLL文件复制到 Windows/system32
  • pip install requests
  • pip install image
  • pip install pillow
  • pip install pyinstaller

问题记录

  • 打包exe时需指定ssl的目录到环境变量
    • /python-path/DLLs

打包命令 (文件生成在 根目录dist文件夹)

  • 1.安装zip命令
  • (╯‵□′)╯︵┻━┻ 这里不应该用这个命令
  • 2.subst z: "C:\Program Files (x86)\GnuWin32\bin" # zip目录
  • 3.执行 deploy.bat
  • 或者
  • pyinstaller -y -w -i=icons/panda.ico src/bing2me.py
  • pyinstaller -y -w -F -i=icons/panda.ico src/bing2me.py

bing2me's People

Contributors

ncwtf avatar

Stargazers

 avatar

Watchers

James Cloos 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.