Copying Files and Folders, Moving and Renaming Files and Folders, Permanently Deleting Files and Folders, Safe Deletes With The Send2trash Module)
Copying Files and Folders, Moving and Renaming Files and Folders, Permanently Deleting Files and Folders, Safe Deletes With The Send2trash Module)
1.Define terms.i file ii.filename iii.path iv folder v .current working directory vi home
directory
2.Differentiate current working directory and home directory
3.Differentitae Relative path and absolute path
Or explain os module .
5.Explain permanent delete and safe delete with a suitable Python programming
example to each.
10.Explain shutil module.( Copying Files and Folders, Moving and Renaming Files
and Folders, Permanently Deleting Files and Folders, Safe Deletes with the
send2trash Module)
11.explain os.walk () with example
12. What is the use of ZIP? how to create a ZIP folder explain,read and write into zip
files.
16 What is logging? how this would be used to debug the python program?
or Explain the support for Logging with logging module in Python.
23 Define pure function and modifier. Explain the role of pure functions and
modifiers in application development with suitable python programs.
24.explain deep copy and shallow copy with example
25.differentiate methods and functions.
26 .explain Type-based dispatch in Python