Forum: Poser Python Scripting


Subject: Useful Code Snippets

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


adp001 posted Wed, 03 November 2021 at 3:55 AM

In my opinion, a version number should not be assumed to be a float. Version numbers can also look like this: "12.3.0.3". This is where "float" fails severely.

My method is something like Python's "sys.version_info.major", where Python's version number contains several decimal points.