Skip to main content

Python GUIs made easy!

Project description

PyOptionPane

Python GUIS made easy

What is PyOptionPane?

PyOptionPane is python guis made easy for beginners and professionals a like. It's basically JOptionPane but for python! And who wouldn't want that?

Examples

A simple message can be displayed like this

from PyOptionPane import *
f = TextBox("This is an example")

Output:

Screen Shot 2022-09-28 at 5 56 19 PM

User input

from PyOptionPane import *
f = StringInput("This is another example") #If you want integars use IntInput()
#variable f will now equal whatever the user puts

Output:

Screen Shot 2022-09-28 at 6 01 28 PM

Dropdown box

from PyOptionPane import *
f = DropDown("This is an example", "Option 1", "Option 2", "Option 3"

Output:

Screen Shot 2022-09-28 at 6 02 27 PM

Yes or no

from PyOptionPane import *
f = YesOrNo("This is another example")

Output:

Screen Shot 2022-09-28 at 6 06 20 PM

Alerts

from PyOptionPane import *
f = Message(False, "This is an example")
Screen Shot 2022-09-28 at 6 07 45 PM

Fatal Alert/Warning

from PyOptionPane import *
f = Message(True, "This is an example")
Screen Shot 2022-09-28 at 6 09 05 PM

Use Cases

This can be very useful for those learning python or for to make command line programs look better without much extra effort involved. It can also be useful for beginners/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyOptionPane-1.0.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

PyOptionPane-1.0.2-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page