Is there a way to get my slicer version within the Python Interactor?
For example:
import sys
print(sys.version)
gives us Python version. I was wondering if there is a way to get slicer version from the Python console as well.
Is there a way to get my slicer version within the Python Interactor?
For example:
import sys
print(sys.version)
gives us Python version. I was wondering if there is a way to get slicer version from the Python console as well.
You’re looking for things like slicer.app.majorVersion
, slicer.app.minorVersion
and slicer.app.repositoryRevision
.