Skip to main content

A function that enumerates all files in a folder (and subfolders)

Project description

A function that enumerates all files in a folder (and subfolders)

$pip install enumerate-all-files-in-folder

Original

from enumerate_all_files_in_folder import copy_enumerate_files

alli = copy_enumerate_files(

    folders=[r"F:\flattest"],

    outputfolder=r"F:\flattestresult1",

    maxsubdirs=0,

    groupsuffix=True,

    restart_index_new_suffix=True,

    zfill=8,

    prefix = '1test_'

)
alli = copy_enumerate_files(

    folders=[r"F:\flattest"],

    outputfolder=r"F:\flattestresult2",

    maxsubdirs=0,

    groupsuffix=False,

    restart_index_new_suffix=False,

    zfill=8, prefix='2test_'



)
alli = copy_enumerate_files(

    folders=[r"F:\flattest"],

    outputfolder=r"F:\flattestresult3",

    maxsubdirs=0,

    groupsuffix=True,

    restart_index_new_suffix=False,

    zfill=8, prefix='3test_'



)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enumerate_all_files_in_folder-0.10.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

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