Skip to content

File operation list directory, create/delete/rename/search file or directory in simple python with os module

Notifications You must be signed in to change notification settings

Bennnto/Files-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Files-python

This program is file operation write in python3 by using module os

Files : 1. filehandling.py : 2. main.py

How to use

  • Download files in folder https://github.com/Bennnto/Files-python/tree/main/files and save both file in same directory
  • Open Terminal and Navigate to directory that save downloaded files
  • Execute main.py by python or python3 main.py

Functions

No. Name Functions
1. list_dir() ``List input directory``` with maxdepth : 3
2. create_dir() Create Directory or File by input path and filename
3. delete_dir() Delete Directory or File by select F or D and input path
4. rename_dir() Rename Directory or File that exists
5. search_dir() Search file by select mode from exec filename or file extension

img1 img2 img3

About

File operation list directory, create/delete/rename/search file or directory in simple python with os module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages