Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwenjian/pydice
A Python GUI application to roll a dice to select an image in a folder.
https://github.com/jwenjian/pydice
canvas page python python-gui tkinter
Last synced: 28 days ago
JSON representation
A Python GUI application to roll a dice to select an image in a folder.
- Host: GitHub
- URL: https://github.com/jwenjian/pydice
- Owner: jwenjian
- License: gpl-3.0
- Created: 2019-06-20T15:44:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T16:17:32.000Z (over 5 years ago)
- Last Synced: 2024-10-03T08:47:01.799Z (about 1 month ago)
- Topics: canvas, page, python, python-gui, tkinter
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pydice
## What
A Python GUI application to roll a dice to select an image in a folder.## Screenshots
![pydice.gif](https://user-images.githubusercontent.com/25657798/59865091-cfbd4a80-93ba-11e9-981b-45b8a25784c7.gif)## How to use
1. Click [Start] button or "File -> from image folder" to select a folder that contains 2 or more images(.jpg/.png/.gif)
2. Click [Start] button to start rolling
3. Click [Stop] button to stop the rolling, the selected image and its filename will be showed on the screen.## How to run in IDE
1. `pip install pillow` to support .jpg file
## Bundle
- Run `pip install pyinstaller`
- Run `pyinstaller -w pydice_support.py -n pydice -i favicon.ico`, it will generate `build` and `dist` folder
- copy favicon.ico to dist folder