How to Check Which Version of Python is Running My Script in IPython Console

based on https://sqlpey.com/python/solved-how-to-check-python-version/

from platform import python_version

print("You are using Python version:", python_version())
You are using Python version: 3.11.10
posted @ 2024-12-10 09:23  ChrainY  阅读(3)  评论(0编辑  收藏  举报