GVK CHINMAYA VIDYALAYA
SENIOR SECONDARY SCHOOL
Kothuru, Indukurupet, SPS Nellore
FileHandling
Class: 12 Subject: Python Teacher: C Vijaya
strip()
rstrip()
lstrip()
Strip:
The Strip() removes the given character from both the ends.
rstrip:
The rstrip() removes the given character from trailing end i.e., right end.
lstrip():
The lstrip() removes the given character from the leading end (left end).
Appending a File:
A file opened in append mode retains its previous data while allowing you to
add newer data into.
WAP to get rollno, names and marks of the student from the user
WAP to add 2 more student details to previous program
File handling CBSE CLASS 12

More Related Content

PPTX
Filtering Inaccurate Entity Co-references on the Linked Open Data
PDF
GVKCV Computer Science(083) Pre board sample paper 2 Class 12 (20-21) with so...
PDF
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
PDF
CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21
PDF
Inserting an element in a sorted array using traditional algorithm
PDF
Binary search in Python using recursion
PDF
Linear search python CBSE Class 12
PDF
Data visualization pyplot
Filtering Inaccurate Entity Co-references on the Linked Open Data
GVKCV Computer Science(083) Pre board sample paper 2 Class 12 (20-21) with so...
Computer Science(083) Python Pre Board Exam 1 Sample Paper Class 12
CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21
Inserting an element in a sorted array using traditional algorithm
Binary search in Python using recursion
Linear search python CBSE Class 12
Data visualization pyplot

Recently uploaded (20)

PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
Trump Administration's workforce development strategy
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
Empowerment Technology for Senior High School Guide
PDF
International_Financial_Reporting_Standa.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
IGGE1 Understanding the Self1234567891011
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PPTX
Virtual and Augmented Reality in Current Scenario
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
202450812 BayCHI UCSC-SV 20250812 v17.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
AI-driven educational solutions for real-life interventions in the Philippine...
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Trump Administration's workforce development strategy
Weekly quiz Compilation Jan -July 25.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
Introduction to pro and eukaryotes and differences.pptx
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Empowerment Technology for Senior High School Guide
International_Financial_Reporting_Standa.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
IGGE1 Understanding the Self1234567891011
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Virtual and Augmented Reality in Current Scenario
History, Philosophy and sociology of education (1).pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Ad
Ad

File handling CBSE CLASS 12