Ich habe mehrere If-Abfragen und komm hier nicht weiter:
Code: Alles auswählen
...
self.check1 = wx.CheckBox(panel, -1, "")
self.check2 = wx.CheckBox(panel, -1, "")
...
string = ['TTCCTAATACCCGTCAGCTTG', 'ATTTGGGAAGTGATTCCATAG','ATGGGAACTCGGGAAGGAGAT','TGATAGTTATTGTTGTTGACT','AAGCTGATGCATTGAAGCACC']
for i in string:
if self.check1 == True:
if i.startswith("A") or i.startswith("T") == True:
if self.check2 == True:
if i.endswith("G") or i.endswith("C") == True:
print i
...
Liebe Grüsse
Stefanie