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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ddr_general-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9f4be002b247b1638eeb8bd222b1e0dabd3aa307cd6ed03ea5604c2bb5729e6f
MD5 30fa2ae59412b05c243834feed3faf50
BLAKE2b-256 39e5d99e2a638e2d8f981d5631f90c186bb4354adda51c8fcbd6aa4dbbee02d6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ddr_general-0.0.1-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.7

File hashes

Hashes for ddr_general-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 225b04a41329b5f2ea70af665cc6984ebc03c4d42e08c1c92057a4c90ec0fb10
MD5 cb063bfad06e2893e86ea9c56ad89405
BLAKE2b-256 f54baa71b9afdd1d05a4e239bcfe5e6df86b810903be1741329a297dc36061ce

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