Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image order #12

Open
HIN0209 opened this issue Jun 9, 2017 · 2 comments
Open

image order #12

HIN0209 opened this issue Jun 9, 2017 · 2 comments

Comments

@HIN0209
Copy link

HIN0209 commented Jun 9, 2017

I prepared a folder that has multiple image files as follows:
001.jpg
002.jpg
.....
100.jpg

The order of appearance of the images do not follow the numbers and appears to be random. Is there any way to show the images serially (001, 002, ...100)?

@prabindh
Copy link
Owner

prabindh commented Jun 9, 2017

It is not guaranteed by the (Py/tk) toolkit API. If you need a sorted order, you could use the sorted list as discussed in - https://stackoverflow.com/questions/13122005/files-from-directory-being-pulled-in-wrong-order-with-python. Let me know if you are ok with it.

@HIN0209
Copy link
Author

HIN0209 commented Jun 9, 2017

Thank you for the response. I checked it and saw multiple potential solutions. Can you suggest what part of your code these should be inserted into?
From a novice pythoner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants