|
- [xx@jx2-login01 xx]$ python2
- Python 2.7.5 (default, Aug 7 2019, 00:51:29)
- [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import subprocess as sp
- >>> sp.check_output(["grep ' nm ' ZINDO.log | head"], shell=True).strip().split("\n")
- ['Excited State 1: Singlet-A 2.3556 eV 526.33 nm f=0.0000 <S**2>=0.000', ' Excited State 2: Singlet-A 2.3710 eV 522.92 nm f=0.0000 <S**2>=0.000', ' Excited State 3: Singlet-A 2.3720 eV 522.70 nm f=0.0000 <S**2>=0.000', ' Excited State 4: Singlet-A 2.9042 eV 426.91 nm f=0.5039 <S**2>=0.000', ' Excited State 5: Singlet-A 2.9057 eV 426.69 nm f=0.4989 <S**2>=0.000', ' Excited State 6: Singlet-A 2.9300 eV 423.15 nm f=1.2019 <S**2>=0.000', ' Excited State 7: Singlet-A 3.2962 eV 376.14 nm f=0.0023 <S**2>=0.000', ' Excited State 8: Singlet-A 3.3007 eV 375.63 nm f=0.0021 <S**2>=0.000', ' Excited State 9: Singlet-A 3.3014 eV 375.55 nm f=0.0026 <S**2>=0.000', ' Excited State 10: Singlet-A 3.6388 eV 340.73 nm f=0.0000 <S**2>=0.000']
复制代码 |
|