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.setUnselectedBgcolor("white") <- 一个str类型,代表未选中的元素背景颜色

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

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

!注意事项!

导入

import WheelDecide #√

import wheeldecide #×

使用

#setinterval值默认为1

#setUnselectedBgcolor值默认为"white"

#setSelectedBgcolor值默认为"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.2

  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.2.tar.gz (7.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: WheelDecide-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 90903f5cd84d6d1c807292d195e8c44b1c95d5417d4d57d4374d1296c470c6b8
MD5 d8e11c50ebd668dad1baa5c626dda72a
BLAKE2b-256 7c1161a33d6da3df72a124f33408a9ed1837810a2a6e06ff71761593deba7216

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