随笔分类 -  Python

摘要:D:\Python\python3.exe -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple openai (使用PIP安装/更新) 阅读全文

posted @ 2023-07-12 16:50 -=- 阅读(8) 评论(0) 推荐(0) 编辑

摘要:1、HTTP协议 超文本传输协议:一种发布和接受HTML页面的 方法,服务器端口号是80. HTTPS协议:是HTTP协议的加密版本,在HTTP下加入了SSL层。服务器端口号是443。 2、URL组成部分 scheme://host:port/path/?query-string=xxx#ancho 阅读全文

posted @ 2021-10-01 15:42 -=- 阅读(73) 评论(0) 推荐(0) 编辑

摘要:输入语句 python中,通过input函数获取用户键盘输入 input函数的参数是字符串,它是屏幕提示语 # 变量赋值,=两边空格可有可无 >>> user = input('username: ') # 用户输入内容保存到变量user中 username: tom >>> user # 使用变量 阅读全文

posted @ 2021-09-30 15:06 -=- 阅读(66) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示