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.
En esta página del sitio puede ver el video en línea Python Program for deleting and rewritting files de Duración hora minuto segunda en buena calidad , que subió el usuario Peter Steele 29 agosto 2010, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,835 veces y le gustó 5 a los espectadores. Disfruta viendo!