![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
天津赫本
高端大气上档次!
展开
-
pip修改安装源-Python3
1.新建文件夹 mkdir -p ~/.pip 2.新建配置文件 cd .pip vi pip.conf [global] index-url = http://***.com.cn/*** [install] trusted-host = ***.com.cn原创 2020-06-18 09:27:41 · 259 阅读 · 0 评论 -
python手动安装packages-Python3
1.下载packages https://pypi.org/ 2.解压并安装 tar -zxvfFlask-1.1.2.tar.gz cdFlask-1.1.2 python setup.py build python setup.py install 3.根据build及install提示再次下载安装依赖包原创 2020-06-18 09:21:00 · 587 阅读 · 0 评论 -
flask快速创建python应用服务器-Python3
1.下载flask pip install flask 2.编写代码 import json from flask import Flask from flask import request app = Flask(__name__) @app.route('/getData', methods=['POST']) def getData(): req = request.get_data() # json格式转换 param = json.loads(req)原创 2020-06-05 11:43:48 · 292 阅读 · 0 评论 -
Java快速调用Python代码
1.配置pom.xml <!-- https://mvnrepository.com/artifact/org.python/jython --> <dependency> <groupId>org.python</groupId> <artifactId>jython</artifactId> <version>2.7.0</version> </dependency> ...原创 2020-06-04 14:19:51 · 261 阅读 · 0 评论 -
Linux系统安装Python3-Linux系统-CentOS7
一、安装依赖 yum install -y wget gcc zlib* openssl* bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel 二、下载Python3安装包 wget https://www.python.org/ftp/python/3.8.0/Python-3.8...原创 2020-01-02 11:34:45 · 113 阅读 · 0 评论