Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python sort isdigit

from natsort import natsorted
my_list = ['image101.jpg', 'image2.jpg', 'image1.jpg']
natsorted(my_list)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #sort #isdigit
ADD COMMENT
Topic
Name
4+9 =