want to see what is inside cn object & write its content line by line in .txt
file
>>> cn
<Bio.PDB.HSExposure.ExposureCN object at 0x03469590>
>>>for x in cn:
print(x)
gives output
(<Residue SER het= resseq=60 icode= >, 38)
(<Residue ARG het= resseq=61 icode= >, 32)
(<Residue TRP het= resseq=62 icode= >, 36)
(<Residue TRP het= resseq=63 icode= >, 42)
--
View this message in context:
http://python.6.n6.nabble.com/how-to-see-what-content-have-by-object-write-its-content-to-separe-file-tp4564931p4564931.html
Sent from the Python - python-win32 mailing list archive at Nabble.com.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32