Skip to content

FanaticExplorer/easymsgbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easymsgbox

Create message boxes easily in Python

This module helps to create easy-to-use message boxes.

Installation

pip install easymsgbox

Usage

import easymsgbox as mb

agreement = mb.agreement('Agreement', 'Are you agree?', is_cancel = True)
if agreement == None:
    mb.alert('Sorry to bother!', 'Exiting.')
    exit()
elif agreement:
    data_collect = mb.confrim('Thanks!', 'Starting collecting data, icon = 'warning')
    if data_collect:
        mb.alert('Done!', 'Have a nice day!')
    else:
        mb.alert('Data collecting canced!', 'Canceled by user')
else:
    mb.alert('Oooh', 'Sorry', icon = 'error')

Compability

Compatatable with all Python 3 versions!

This is my first module ever!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages