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
-
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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for einfach-0.1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | accdc873233461026dcd380175b34c03250f1a3bc4e36676e87532ef88468ccd |
|
MD5 | 7af25c3b0d36edd2a5722e02d1669c34 |
|
BLAKE2b-256 | a476b2b2e5f24536efb5da65a196aa45716ba619e730fd8a11951ffde63eddba |