Skip to main content

Get installed IDEA version with python code

Hi Brian,
Hi at all,

I have specific python code that I put into a python.py file and run it from within IDEA. Now, I would like detect in my python code the installed IDEA version, to be able to do something like

if IDEA_version >= 12:

else:

So how can I get the installed IDEA version from Python code?

Thanks for any help!