Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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