Home
Blog
Links
Now
Oct 24, 2021
Getting the Python version at runtime
python
import
sys
print
(
sys
.
version
)
Output:
3.9.7
(
default, Aug
31
2021, 13:28:12
)
[
GCC 11.1.0
]