0 x09
Tue Nov 15 08:00:59 CST 2016
0 x09
Tue Nov 15 08:01:09 CST 2016
0 x09
Tue Nov 15 08:01:19 CST 2016
0 x09
Tue Nov 15 08:01:29 CST 2016
0 x09
Tue Nov 15 08:01:39 CST 2016
0 x09
Tue Nov 15 08:01:49 CST 2016
0 x09
Tue Nov 15 08:01:59 CST 2016
0 x09
Tue Nov 15 08:02:09 CST 2016
0 x09
Tue Nov 15 08:02:19 CST 2016
0 x09
Tue Nov 15 08:02:29 CST 2016
0 x09
Tue Nov 15 08:02:39 CST 2016
0 x09
Tue Nov 15 08:02:49 CST 2016
I'm a beginner rookie help great god, how do you know the file content in CST 2016 times how to print it out,
CodePudding user response:
With open (" test. TXT ", "r") as f: # open file
Data=# https://bbs.csdn.net/topics/f.read () to read the file
C=data. The count (CST "2016")
Print (c)