0% found this document useful (0 votes)
15 views

Assignment 5

Uploaded by

Anirban Sadhu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Assignment 5

Uploaded by

Anirban Sadhu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment

File Handling

Q1. Read a text file line by line and display each word separated by a #.

Q2. Read a text file and display the number of vowels, consonants,
uppercase, lowercase characters in the file.

Q3. Python program to copy odd lines of one file to other

Q4. Create a binary file with roll number, name and marks. Input a roll
number and update the marks.

Q5. Generate 26 text files named A.txt, B.txt, and so on up to Z.txt

PRADYUMNA KUMAR TRIPATHY, SILICON INSTITUTE OF TECHNOLOGY, BHUBANESWAR 1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy