![]() |
Quote:
|
Is there a way to have the dropdown box showing sorted img-keys?
Ok that was easy :) replace Code:
image['values'] = img_dic.keys()Code:
image['values'] = sorted(img_dic.keys())Code:
image['values'] = img_dic.keys().sort() |
Quote:
Code:
image['values'] = img_dic.keys()Code:
print sorted(img_dic.keys()) |
Quote:
:thanks: |
| All times are GMT -4. The time now is 08:03 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.