pip 换源地址 阅读全文 →

pip 换源地址 阿里云 pip install -i https://mirrors.aliyun.com/pypi/simple/ 中国科技大学 pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣 pip install -i https://pypi.douban.com/simple/ 清华大学 pip install -i

Python 之间的区别 阅读全文 →

Python 之间的区别 https://cython.org/ python编译 https://www.cnblogs.com/gcgc/p/16529975.html https://www.zhihu.com/question/45773200/answer/2850289269 https://www.zhihu.com/tardis/bd/ans/2383570933?source_i

Python 计算三点角度 阅读全文 →

Python 计算三点角度 x1 = 0 y1 = 3 x2 = 0 y2 = 0 x3 = 6 y3 = 0 abx = x1 - x2 aby = y1 - y2 cbx = x3 - x2 cby = y3 - y2 abmcb = abx * cbx + aby * cby dab = math.sqrt(abx * abx + aby * aby) dcd = math.sqrt(cbx