0

I'm trying to sort a list of string in python. This list is composed of name of files like 1.svg 2.svg ... The problem is when I work with 10.svg the list become : 1.svg 10.svg 2.svg and I need 1.svg 2.svg 10.svg Do you know how to do that ?

Thanks,

I saw the duplicate link but I can't import natsort, maybe it needs python 3.0 no ? (I'm am working with 2.7)

Milodupipo
  • 49
  • 1
  • 8

0 Answers0