Python Program for deleting and rewritting files

Published: 29 August 2010
on channel: Peter Steele
2,835
5

This is a program that I wrote in python. It allows you to open a file with the program and then delete its contents and rewrite anything you want to it. It is great if you dont feel like opening the file in a text editor to just maybe jot down a note or something while you are working in the terminal. I use it often when writing programs in an idle. I just have one file that I can call up and erase and write down any notes at the moment without having to open up a text editor. You can adapt it for so many other uses as well but this is just a simple version to show you the mechanics of how it all works.


On this page of the site you can watch the video online Python Program for deleting and rewritting files with a duration of hours minute second in good quality, which was uploaded by the user Peter Steele 29 August 2010, share the link with friends and acquaintances, this video has already been watched 2,835 times on youtube and it was liked by 5 viewers. Enjoy your viewing!