Creates symlinks and all folders in the symlink path if they don't exist
Project description
Creates symlinks and all folders in the symlink path if they don't exist
# You don't have to worry about creating the folder(s).
# If the folder and subfolders don't exist, they will be created.
# If a symlink already exists at the given path, it will be overwritten.
# If something goes wrong, the function returns False
# If everything is fine, it returns True
from easy_symlink import create_symlink
pp = create_symlink(
r"C:\pictest4\1671814710.650013.png",
"f:\\aaaaaaaafolder1\\folder2\\folder3\\folder4\\img.png",
)
print(pp)
True
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
easy_symlink-0.10.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file easy_symlink-0.10.tar.gz
.
File metadata
- Download URL: easy_symlink-0.10.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100cd589a306ea6f088b666e438a3e283007d0fbe2b55b229e5671afb478888e |
|
MD5 | a41e08b6da07f76bfa4f179b262f7b71 |
|
BLAKE2b-256 | 30cfea9d3feb139812112be25b58e69825af7138f9f49e3dcdcccac2ee34136e |
File details
Details for the file easy_symlink-0.10-py3-none-any.whl
.
File metadata
- Download URL: easy_symlink-0.10-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bfd049846b40332ce0d95d13600c1a505f621cc167f063e2944a1c54b45d5cf |
|
MD5 | 8322725dede5e4e7d8ea462320648901 |
|
BLAKE2b-256 | cfa8aa71dcb9b4be209f07710d7fb58cbfc81c18ccc42f3272e314a12ccbc76a |