Skip to main content

dialog library for windows

Project description

wdlg

This package is a small python library for windows. It provides functions for creating file/directory selection dialogs and message boxes.

This package is written entirely in Python. It uses ctypes module to display dialogs and has no dependencies on tkinter or outside the standard library.

Function and argument names are almost the same as those of tkinter. I feel that it's easy to port code from tkinter to wdlg, and vice versa.

Installation

pip install wdlg

Example

# it's easy to port code from tkinter to wdlg.

# from tkinter import filedialog
# from tkinter import messagebox
from wdlg import filedialog
from wdlg import messagebox

dir_path = filedialog.askdirectory(initialdir="C:\\Users")
messagebox.showinfo(title="Hello World", message=dir_path)

License

BSD Zero Clause License

see LICENSE.txt.

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

wdlg-0.0.2.zip (9.6 kB view details)

Uploaded Source

Built Distribution

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

wdlg-0.0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file wdlg-0.0.2.zip.

File metadata

  • Download URL: wdlg-0.0.2.zip
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for wdlg-0.0.2.zip
Algorithm Hash digest
SHA256 825f5a3cc953c506d189bd347dd198a6277e7053b2e2c9c5fe92370fdf9a68a3
MD5 d81e4a68e32bf277aad9f3826c46f372
BLAKE2b-256 edab57b4bc6f41a7167a95a9d28a97404bd06b78f5d37fe7dab413c92e4c075b

See more details on using hashes here.

File details

Details for the file wdlg-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wdlg-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for wdlg-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8901b2c8f196e76e39e7adf59ea4b28018524f1c2af5caa8982715e9c1b22e44
MD5 77bc55c819e07d6c0c64686d2418251e
BLAKE2b-256 de23f12a53689fdb1b7323cb61041b334ac44fcddb218e1de42d33316a017eee

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