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.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

ddr_general-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file ddr_general-0.0.2.tar.gz.

File metadata

  • Download URL: ddr_general-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for ddr_general-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e3cec8177b580e4976691ab6cc664bbbe4559d926208e136289a1b64bebf1291
MD5 5bc52b16228b15a4c6679aadf0abb008
BLAKE2b-256 5f933d42fed38ba65edadc0fb511fbe43750cf7faeb871bf0c01d5b0ad73150c

See more details on using hashes here.

Provenance

File details

Details for the file ddr_general-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ddr_general-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for ddr_general-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 294f36557547fa21c1e690d204cbd1ecbb3a8e2bfcc52b1be029c7c5f8b5d632
MD5 5a6eb7cd12cb0f22a627c584b6ddd6a5
BLAKE2b-256 b211a0c78144c61ab8ff89c1780957e6463396c817cb4bab4f132a72c2770dae

See more details on using hashes here.

Provenance

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