环境- Windows 7企业(Service Pack 1)
流程
已安装git
配置了用于git的user.name和user.email
安装nodejs
node version - 8.11.3
npm version - 6.4.0
安装Python2.7.3
added environement variable and updated path statement
安装Visual 2015社区版本
installed Visual C== 2015 Tools for Windows Desktop
installed Windows XP Support for C++
我有一个文本文件,其中我需要提取前五行,其中指定的关键字出现在段落中。
我能够找到关键字,但不能从该关键字中写出接下来的五行。
mylines = []
with open ('D:\\Tasks\\Task_20\\txt\\CV (4).txt', 'rt') as myfile:
for line in myfile:
mylines.append(line)
for element in