0
Searching for word and sentence in doc file.
Hey guys do you have any idea for code which: -can find all definite sentences -can print part of it which is variable. Example of what I mean: I have a text file and I want to find in it all sentences start with "Today and end with "nice" and then print a word which is after "Today", e.g. Today x is very nice." and print "x" when "x" is variable.
1 Antwort
+ 1
These string functions can surely help you. You can code with these. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2456/