osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

program that search string in text file and do something


Hi, I'm new to thing forum and to this programming in python!

can someone help me and write me how to write a program that do:
- search for a string in certain text file and if it founds the string it delete the file? and print something?

thanks.