perl和python3 同时打开两个文件

perl :
while(defined(my $f1=<FQ1>) && defined(my $f2=<FQ2>)){ condition }

python3 :
for line1,line2 in zip(fileHandle1,fileHandle2):
  condition

 

posted @ 2020-09-28 16:54  天使不设防  阅读(133)  评论(0编辑  收藏  举报