Skip to main content

List files + 8.3 path

Project description

List files + 8.3 path

Tested against Windows 10 / Python 3.11 / Anaconda

pip install list-all-files-recursively-short

from list_all_files_recursively_short import get_folder_file_complete_path, bufferconfig

bufferconfig.buffer_long_path = 1024

fi = get_folder_file_complete_path(
    folders=[r"C:\Program Files\Microsoft Visual Studio"]
)
for file in fi[:10]:
    print(file.folder, file.file, file.path, file.ext, file.name83)

# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7 servicehub.config.json C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\servicehub.config.json .json C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\SERVIC~1.JSO
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE adodb.manifest C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\adodb.manifest .manifest C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\ADODB~1.MAN
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-file-l1-2-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-file-l1-2-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\API-MS~1.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-file-l2-1-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-file-l2-1-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\API-MS~2.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-localization-l1-2-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-localization-l1-2-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\API-MS~3.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-processthreads-l1-1-1.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-processthreads-l1-1-1.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\API-MS~4.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-synch-l1-2-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-synch-l1-2-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\APF10C~1.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-core-timezone-l1-1-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-core-timezone-l1-1-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\AP7902~1.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-crt-convert-l1-1-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-crt-convert-l1-1-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\APFD9C~1.DLL
# C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE api-ms-win-crt-environment-l1-1-0.dll C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\api-ms-win-crt-environment-l1-1-0.dll .dll C:\PROGRA~1\MICROS~4\2022\COMMUN~1\Common7\IDE\APC00F~1.DLL

Project details


Release history Release notifications | RSS feed

This version

0.10

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

File details

Details for the file list_all_files_recursively_short-0.10.tar.gz.

File metadata

File hashes

Hashes for list_all_files_recursively_short-0.10.tar.gz
Algorithm Hash digest
SHA256 40ce1387d727dc9f2269d9fe902dbb1a9bb52351d8480a8bff13abdcb9a462de
MD5 6cb23463bb12b61d8128b6c4e04f26d3
BLAKE2b-256 ecc67d33caff65c2284dd5d8603a76804973fc0692a714aa46cb1b21fda26fcc

See more details on using hashes here.

File details

Details for the file list_all_files_recursively_short-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for list_all_files_recursively_short-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3b8c3b1ebb9dc5da68c18cc2eeca19da2661812323deb6e441ae1729043161
MD5 d9467df08e62e9970640417fd4681904
BLAKE2b-256 f229d2bc8a476cc377163ec7586bc0b9da4991cf96b860ae5a4a2044e9b255b2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page