I have a simple project. I need a program that will do the following:
Select file(s) to edit. These will be simple text files.
Read the file one line at a time.
If the line begins with "checksum" delete the line
Look for the last word of a line to be "begin"
delete all lines after that until the word "end" is present.
Save the file(s) as text file.
I would prefer python if possible.
Here is an example where you can see what will be deleted:
Version =20
VersionRequired =20
Checksum =-254047563
Begin Form
AutoCenter = NotDefault
PictureData = Begin
0x0e00000000000000010000005800000000000000000000000204000059000000 ,
0x0000000000000000d56900004d09000020454d46000001003cda02000d000000 ,
0x010000000000000000000000000000002003000058020000d30000009e000000 ,
0x4b0000001000000000000000050000000e000000140000000000000010000000 ,
0x14000000
End
OrderBy ="[Processing Data Entry].[Sample ID]"
RecSrcDt = Begin
0x139c70b3f3c3e140
End
GUID = Begin
0x32648cf57b654c4d97c4c2369d3a22a2
End
Thank you
MP
Hi,
I will provide a simple c# windows app to do this. it's a simple program that will complete in 1-2 hours.
let me know. will start immediately.
thanks,
Sheik
$18 USD em 0 dia
4,9 (19 avaliações)
4,7
4,7
3 freelancers estão ofertando em média $23 USD for esse trabalho