![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 65
Qiuxuntao
学生
展开
-
mac 开启python服务器
1. 创建一个文件夹2. 从终端cd进入文件夹3. 开启命令 python -m SimpleHTTPServer 99994. 文件夹中直接创建test.html5. 直接运行:http://localhost:9999/test.html(192.168.84.21)原创 2021-11-26 15:52:28 · 1006 阅读 · 0 评论 -
python字符串,列表,元组,字典的基本操作
python字符串,列表,元组,字典的基本操作字符串1.1字符串的输出name = 'qxt'position = 'student'qq="110120119"wx="qxtzmr"school="清华北大"address = '江西赣州'print('--------------------------------------------------')print("姓名:%s" % name)print("职位:%s" % position)print("QQ:%s" % q原创 2021-05-24 16:02:54 · 235 阅读 · 0 评论