0% found this document useful (0 votes)
4 views1 page

Assignment Module 4

The document outlines the curriculum for Module-4 of an Introduction to Python Programming course at Basaveshwar Engineering College. It includes topics such as the Shutil module functions, file operations, file compression, differences between permanent and safe deletion, assertions in traffic light simulation, logging support, directory traversal, and specific functions like shutil.copytree(), shutil.move(), and shutil.rmtree(). Each topic requires explanations and programming examples.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Assignment Module 4

The document outlines the curriculum for Module-4 of an Introduction to Python Programming course at Basaveshwar Engineering College. It includes topics such as the Shutil module functions, file operations, file compression, differences between permanent and safe deletion, assertions in traffic light simulation, logging support, directory traversal, and specific functions like shutil.copytree(), shutil.move(), and shutil.rmtree(). Each topic requires explanations and programming examples.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Basaveshwar Engineering College, Bagalkote

Department of Electrical and Electronics Engineering


Subject : Introduction to Python Programming Subject Code :
Faculty Name : Mr. Mahantesh Chikkadesai Semester : 3

Module-4
1. Explain all the functions of Shutil Module with programming examples
2. What are the different methods of file operations supported in the python shutil
module
3. What is meant by compressing files? Explain reading, extracting and creating
ZIP files with programming examples for each
4. Explain the differences between permanent delete and safe delete with suitable
Python programming examples to each.
5. Explain how assertions can be used in traffic light simulation with Python code
snippets.
6. Explain the support for Logging with logging module in Python
7. Develop a Python program to traverse the current directory by listing subfolders and
files.
8. Explain the functions with examples: (i) [Link]() (ii) [Link]() (iii)
[Link]().

You might also like