Calculations¶
In this section,I will show some interesting calculations and relative problems in my research time.I think these can help me and you a lot if you are interested in my research. Also,if you encounter some problems,you can email me and I am very glad to communicate with you.
Python Calculations¶
Basic Calculations¶
Python Problems¶
Problem 1
Sometimes we may suffer some problems of python intepreters in Ubuntu system.And we should know how to change python intepreter.我们使用update-alternatives来为整个系统更改python默认版本
具体命令`a link`:
- sudo update-alternatives –list python
- ls -l /usr/bin/python /usr/bin/python3
- sudo update-alternatives –install /usr/bin/python python /usr/bin/python2.7 1
- sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.6 2
- sudo update-alternatives –list python
- sudo update-alternatives –config python