Interactive Python prompts made simple
Project description
bulletIn is a fork of bullet. but only two dialog types are implemented at the moment.
Quick start
Import the bulletin module
import bulletin
Instantiate a default Dialogs instance
dialogs = bulletin.Dialogs()
or instantiate a customized Dialogs instance
dialogs = bulletin.Dialogs( shift = 1, indent = 3, align = 2, margin = 1, pad_left = 1, pad_right = 1, check = 'X', nocheck = 'O')
Launch a dialog to select only one option
dialogs.chooseone( prompt='Choose the best day:', choices=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'], default='Saturday')
or launch a dialog to select one or more options
dialogs.choosemany( prompt='Choose three good days:', choices=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'], default=['Monday', 'Wednesday', 'Saturday'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size bulletin-0.2.5-py3-none-any.whl (13.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |