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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Program for deleting and rewritting files durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Peter Steele 29 août 2010, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,835 fois et il a aimé 5 téléspectateurs. Bon visionnage!