# Get slicer version within Python Interactor

**URL:** <https://discourse.slicer.org/t/get-slicer-version-within-python-interactor/7733>\
**Category:** Support\
**Created:** [July 23, 2019, 8:29pm UTC](https://discourse.slicer.org/t/get-slicer-version-within-python-interactor/7733 "2019-07-23T20:29:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbillah](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tbillah/32/4139_2.png) [@tbillah](https://discourse.slicer.org/u/tbillah)\
**Post date:** [July 23, 2019, 8:29pm UTC](https://discourse.slicer.org/t/get-slicer-version-within-python-interactor/7733/1 "2019-07-23T20:29:15Z")

</div>

Is there a way to get my slicer version within the Python Interactor?

For example:

```auto
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.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [July 23, 2019, 8:44pm UTC](https://discourse.slicer.org/t/get-slicer-version-within-python-interactor/7733/2 "2019-07-23T20:44:00Z")

</div>

You’re looking for things like `slicer.app.majorVersion`, `slicer.app.minorVersion` and `slicer.app.repositoryRevision`.
