Forum: Poser Python Scripting


Subject: Useful Code Snippets

structure opened this issue on Jun 27, 2019 ยท 94 posts


adp001 posted Sun, 22 May 2022 at 6:49 AM

Just for the records:

Python sets and dictionaries are unordered. So not sorted. For this reason there is no "reverse" for it. Because the order is random.

https://docs.python.org/3.8/library/stdtypes.html#set-types-set-frozenset

Exception for dictionaries: Class OrderedDict from lib collections.