Skip to main content

contains basic functionalities used frequently

Project description

ddr_general

Contains basic functionalities used freqeuntly.

import ddr_general

make directory

ddr_general.make_dir(r'C:/user/fold1')

makes fold1 directory in user directory. If directory already exists then funtion does nothing.

get folder information

ddr_general.get_dir_path(r'C:/user/fold1')

returns the list of paths of all folders (only) within fold1 directory.

ddr_general.get_dir_name(r'C:/user/fold1')

returns the list of names of all folders (only) within fold1 directory.

ddr_general.get_file_path(r'C:/user/fold1')

returns the list of paths of all files (only) within fold1 directory.

ddr_general.get_file_name(r'C:/user/fold1')

returns the list of names of all files (only) within fold1 directory.

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

ddr_general-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

ddr_general-0.0.1-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

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