Jolanda Reek wrote: > acNr, evalueNr = blast(proteinLijst[x].sequentie) Since this line causes the SyntaxError, could you show us what is in the "blast" function that is being called here? --Michiel.