-
I have multiple centos7 machines that have the following >>> import platform; platform.release() which has the following values so far
Can I do something like I ran the
|
Beta Was this translation helpful? Give feedback.
Answered by
kratsg
Jun 2, 2023
Replies: 1 comment 3 replies
-
A possible solution is through the following: >>> from packaging.markers import Marker
>>> Marker("'el7.x86_64' in platform_release").evaluate()
True so checking if this is valid. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kratsg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A possible solution is through the following:
so checking if this is valid.