Re: how to see what content have by object? & write its content to separe file?
> want to see what is inside cn object & write its content line by line in .txt
Well, that's basically what your code is currently doing. The "cn"
object appears to be an iterator, returning a list of tuples one by
one. If you want the results formatted in a pretty way, then you need
to know more about the "Residue" object in the tuples it is returning.
We don't know anything about those objects -- you'll have to find that
in the code or its documentation.