SyntaxFix
Write A Post
Hire A Developer
Questions
import os thisFile = "mysequence.fasta" base = os.path.splitext(thisFile)[0] os.rename(thisFile, base + ".aln")
Where thisFile = the absolute path of the file you are changing