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.
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
The Unlicense.
This is free and unencumbered software released into the public domain. see UNLICENSE.txt.
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wdlg-0.0.1.tar.gz.
File metadata
- Download URL: wdlg-0.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f6c1928e332279a0d72e255a41cc60f857ab6dfb01f59fa7ddac60c9ffe2c1f
|
|
| MD5 |
4abbcf639c85b87ed64166bb724429bf
|
|
| BLAKE2b-256 |
a42a7a696c4df918af602e6cfba375df9e32c4183c223692c62c225ab38bc90f
|
File details
Details for the file wdlg-0.0.1-py3-none-any.whl.
File metadata
- Download URL: wdlg-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eee71b97885b551640dd618454c8be8b2179dacd087e0995f707d9fa708ca49
|
|
| MD5 |
80058cccc4bf87d1815b18dec129e257
|
|
| BLAKE2b-256 |
d98e672096e335b9314736ac37928077a3c358824ba39785b22d819d2fb8bd4c
|