Skip to main content

This is a package which can make a wheel to decide.

Project description

License Pypi Author Github

安装方法

通过 pip 安装

pip install WheelDecide

更新

pip install WheelDecide --upgrade

使用方法

导入

import WheelDecide

使用

w = WheelDecide.wheel()

w.setinterval(1) <- 一个int类型,代表时间间隔

w.setUnseletedBgcolor("white") <- 一个str类型,代表未选中的元素背景颜色

w.setSeletedBgcolor("red") <- 一个str类型,代表已选中的元素背景颜色

w.setupwheel(["1","2","3","4","a","b","c","d","!","?","#","%"]) <- 十二个str类型组成的list,代表转盘的元素

!注意事项!

导入

import WheelDecide #√

import wheeldecide #×

使用

#setinterval值默认为1

#setUnseletedBgcolor值默认为"white"

#setSeletedBgcolor值默认为"red"

### setupwheel永远是最后一条指令!!! ###

关于作者

Author

Jason4zh

Email

13640817984@163.com

Package

https://pypi.org/project/WheelDecide/

Github

https://github.com/Jason4zh/WheelDecide/

print("Thank you for using!")

本次更新修改v1.0.1

  1. 添加了转盘元素背景颜色的自定义

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WheelDecide-1.0.1.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file WheelDecide-1.0.1.tar.gz.

File metadata

  • Download URL: WheelDecide-1.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.11 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.5

File hashes

Hashes for WheelDecide-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8fe6c8f0f3c3a572633fc40b7026c5ee3b515e28e74ed778c6f56de9db14b4e6
MD5 f2b2d6c5a36db66c6351edfb0f95fc30
BLAKE2b-256 3131c8df2440f029faca8e670bedd083030491767fbd01593351316929dbbb15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page