Python: Separate text file into list of lists depending on heading

后端 未结 0 1732
忘了有多久
忘了有多久 2021-01-26 20:43

I have a text file in the following format

>heading
A B C D
E F G H
I J K L
>heading
M N O P
Q R S T
>heading
U V W X
Y Z a b
...
...

Ea

相关标签:
回答
  • 消灭零回复
提交回复
热议问题