I just installed the python modules: construct
and statlib
with setuptools
like this:
(我刚刚安装了python模块: construct
和statlib
以及setuptools
如下所示:)
# Install setuptools to be able to download the following
sudo apt-get install python-setuptools
# Install statlib for lightweight statistical tools
sudo easy_install statlib
# Install construct for packing/unpacking binary data
sudo easy_install construct
I want to be able to (programmatically) check their versions.
(我希望能够(以编程方式)检查他们的版本。)
Is there an equivalent topython --version
I can run from the command line? (有没有相当于python --version
我可以从命令行运行?)
My python version is 2.7.3
.
(我的python版本是2.7.3
。)