How can linux query the python version
In this issue, the editor will bring you about how to query the python version of linux. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Linux query python version method: 1, execute the "python-V" command in the terminal; 2, execute the "whereis python" command in the terminal; 3, execute the "python-- version" command in the terminal.
Operating environment of this tutorial: linux5.9.8 system, python version 2.6.6, Dell G3 computer.
Linux query python version
Method one
Execute the command in the terminal: python-V
Method two
Execute the command in the terminal: whereis python
Method three
Execute the command in the terminal: python-- version
This is how to query the python version of linux shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.