A collection of useful code "snippets"
Project description
Features:
clip
clip
contains the following function:
.clip
Puts a string into the user's clipboard Notice: currently only the win32 platform is supported for this.
Possible Arguments:
-
content
The String that should be put in the users clipboard. This string cannot be empty or only contain whitespace/spaces- Type:
str
- Type:
-
no_os_error
Tells the function to not raise aOSError
when the operating system is notwin32
-
Type:
bool
-
Default:
False
-
Use:
from einfach import clip
clip.clip(content="Hello World")
# this wont ignore the OSError that is raised when not run on win32
clip.clip(content="Hi! :D", no_os_error=True)
# this will ignore the OSError if run on a non win32 platform. This will result in the clipboard not changing on the non-win32 os.
pathdialog
pathdialog
contains the following functions:
.open_file
.save_file
.open_dir
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
einfach-0.1.0.4.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for einfach-0.1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e70e627f03e47c95987632b50ec85d382943d93ea63a6fe48e68db3163006a1 |
|
MD5 | a895c5c4517264cd52b54d1d5eb5ba95 |
|
BLAKE2b-256 | 4e8eb647814f2e71e6dc2a7c30786ae62dda0da72e4a8038f44f3f8918bb5b89 |