pathlib change extension

32

from pathlib import Path

filename = "mysequence.fasta"
new_filename = Path(filename).stem + ".aln"

Comments

Submit
0 Comments