Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

append file in python

Python Program to write something new into file sample.txt without earsing the exisiting content.

Program or Solution

content=input("Ente Input String:")


Program Explanation

open the file in append mode write the content into the file using write() method close() the file.