Skip to content

This program was created as simulation for the file processing using Python

Notifications You must be signed in to change notification settings

aushafy/Python-Write-and-Read-File

Repository files navigation

Welcome to the python-write-and-read-file wiki!

It's my pleasure to write some code of program and make it usefull as simulation of file processing. In Python, there are many ways to open, read, and write file it is called by file processing.

I have been write some code as sample to you if you wanna learn algorithm of file processing. the description each files are below:

Read

  • read.py (simple program to read entire content of the file)
  • read-line-by-line.py (simple program to read content of file line-by-line)
  • read-lines-in-a-list.py (simple program to read content of file but stored in a list)

Write

  • write.py (simple program to write some text in an empty file)
  • write-append-to-file.py (simple program to add some line of text in the file that has been filled before)

Combination from read-and-write (Main Program)

  • main-read-write.py

Additional files

  • listofname.txt (as sample of list people)
  • empty.txt (sample of empty file)
  • example.txt (as sample for main program)

About

This program was created as simulation for the file processing using Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages