Re: program that search string in text file and do something

2017-08-06 Thread Rick Johnson
Grant Edwards wrote: > Peter Otten <__pete...@web.de> wrote: > > > What we won't do is write a program for you ready to > > present to your teacher. > > Or if we do, it will be subtly sabotaged in a manner that > will make it obvious to an experienced Python programmer > that you didn't write it.

Re: program that search string in text file and do something

2017-08-04 Thread Grant Edwards
On 2017-08-04, Peter Otten <__pete...@web.de> wrote: > What we won't do is write a program for you ready to present to your > teacher. Or if we do, it will be subtly sabotaged in a manner that will make it obvious to an experienced Python programmer that you didn't write it. My favorite is to u

Re: program that search string in text file and do something

2017-08-04 Thread ast
a écrit dans le message de news:f705c092-de18-4c37-bde1-42316e8de...@googlegroups.com... On Friday, August 4, 2017 at 12:27:02 PM UTC+3, ast wrote: a écrit dans le message de news:b6cc4ee5-71be-4550-be3e-59ebeee7a...@googlegroups.com... thanks man! that works I hope it is not a school h

Re: program that search string in text file and do something

2017-08-04 Thread alon . najman
On Friday, August 4, 2017 at 12:27:02 PM UTC+3, ast wrote: > a écrit dans le message de > news:b6cc4ee5-71be-4550-be3e-59ebeee7a...@googlegroups.com... > > 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: > > -

Re: program that search string in text file and do something

2017-08-04 Thread Peter Otten
Peter Otten wrote: > What we won't do is write a program for you ready to present to your > teacher. I should have known better :( -- https://mail.python.org/mailman/listinfo/python-list

Re: program that search string in text file and do something

2017-08-04 Thread Peter Otten
alon.naj...@gmail.com wrote: > 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? Programming is mos

Re: program that search string in text file and do something

2017-08-04 Thread ast
a écrit dans le message de news:b6cc4ee5-71be-4550-be3e-59ebeee7a...@googlegroups.com... 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 del

program that search string in text file and do something

2017-08-04 Thread alon . najman
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. -- https://mail.python.org/mailman/listinfo/pyth