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

Important Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Important Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Make use of example to show opening of a file with open( ) function, reading the
contents of the file with read() and writing to files with write( ).
2. Explain join (), split () and partition ()
methods in brief.
3. Develop a program to sort the contents of a text
file and write the sorted contents into a separate text file.
4. Identify the use of shelve module in python with
example.
5. Develop Backing up a Folder into a Zip file.
Clearly mention the steps involved.
6. Explain the different parts of the file path.
7. Explain os.walk() function with example
8. Explain rjust(),ljust(),centre() with example.

You might also like