I'm using somebody else's code that stores a sequence in an array in python:
blah=array(<Sequence: 2TPS (2TPS refined (label=2TPS) refined (label=2TPS, rowocc>=0.8, colocc>=0.8)[0]; length 196; 196 residues and 0 gaps)>, dtype=object)
I can print the sequence using the following:
print blah
SVYFIMGSNNTKADPVTVVQKALKGGATLYQFREKGLTGEARIKFAEKAQAACREAGVPFIVNDDVELALNLKADGIHIGQEDANAKEVRAAIGDMILGVSAHTMSEVKQAEEDGADYVGLGPIYPTETKKDTRVQGVSLIEAVRRQISIPIVGIGGITIDNAAPVIQAGADGVSMISAISQAEDPESAARKFREE
However, I want to be able to call this sequence and save it to a text file without using the "print" function. I've tried blah[0] etc, but nothing works.