我有一个看起来像这样的文件:
C 0.210991841737 0.047663662717 0.483960886619
C -0.960965312103 0.688519555303 -0.115848688934
C 1.558206749694 0.047460114159 -0.180267436891
O -0.815251456906 -0.734986972268 -0.138532905591
H 0.223550547304 -0.045637654519 1.567373484970
H -1.759483315918 1.063259112311 0.516330435381
H -0.862256972568 1.177986074652 -1.079897880020
H 2.088617117792 -0.883541600456 0.026321487274
H 2.169362364888 0.872235726981 0.192209317060
H 1.455347299576 0.149768052462 -1.260354487995
我只需要读取数字并将其存储在 10x3 矩阵中。我如何在python中做到这一点?