[Pydev-code] Programmatically Identify Python 2 or 3 with PyDev
Brought to you by:
fabioz
From: Thomas P. <tho...@qt...> - 2024-02-27 19:34:09
|
Hello, I searched the archive and skimmed the source code but to no avail. So, I thought to ask here. Is there a way in PyDev to programmatically determine the Python Version of an open script file in Eclipse IDE? The background is we want to display a warning for open Python 2 scripts in our custom Eclipse IDE that we will drop support for it. Thanks in advance, Thomas |