sagarnikam123 wrote: > want to see what is inside cn object & write its content line by line in .txt > file
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. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32