比如安装camelcase
pip install camelcase
这步请不要用Visual Studio Code来执行
然后我们引入并使用它
import camelcase
c = camelcase.CamelCase()
txt = "hello world"
print(c.hump(txt))
用了大概一个月后,它提示我要升级了
直接升级即可
python -m pip install --upgrade pip
查验一下版本号
pip show pip
可见我们的pip确实是升级成功了。