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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file PyOptionPane-1.0.2.tar.gz.

File metadata

  • Download URL: PyOptionPane-1.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for PyOptionPane-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c6f5882bfed8ad9435102a8757f52a3ab14cc25dcd32ad0215a10c14a97258cd
MD5 789ab1fc2b014c0f1fbb84133768e10c
BLAKE2b-256 c8d6b952ce0aaa5f9b89847d33ddd722cde1fbef45aa784c623a2169dc79145f

See more details on using hashes here.

File details

Details for the file PyOptionPane-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: PyOptionPane-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for PyOptionPane-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 836d0818412a1555601deba76947eda2aaf8b1729031d877bf554d966c52a98d
MD5 462c369a96dd755e2643400d2eb06c05
BLAKE2b-256 8dd231b04db08ccaadecbd6b3e2d76bcd66d05516e018ecc57510b0eb51927d1

See more details on using hashes here.

Supported by

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