采用tkinter的简单GUI抽奖程序。
随机过程使用python内置random.choice
,若关注公平性,可以查看choose.py
。
编辑assets/employee_list.txt
即可使用,内容格式应为空白(whitespace / tab)
分隔的两项,行尾以unix line ending结尾。
例如
000001 马化腾
000002 张志东
也可以替换assets/
下的icon 和banner 图片进一步个性化。
可以使用空格键开始暂停抽奖过程。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.