![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 64
快乐追风少年郎
快乐小趴菜
展开
-
mini_frame
import re """ URL_FUNC_DICT = { "/index.py": index, "/center.py": center } """ URL_FUNC_DICT = dict() def route(url): def set_func(func): # URL_FUNC_DICT["/index.py"] = in原创 2018-07-29 21:13:18 · 150 阅读 · 0 评论 -
web_server
import socket import re import multiprocessing import time # import dynamic.mini_frame import sys class WSGIServer(object): def __init__(self, port, app, static_path): # 1. 创建套接字 ...原创 2018-07-29 21:14:58 · 147 阅读 · 0 评论 -
搭建pypiserver私有源
因为很多公司是不允许访问外网并且可能需要自建包,所以需要搭建自己的私有源,查阅了很多网上的其他教程,并没有说明用到了什么环境,什么版本的包,因此出了很多问题,以此篇文章来记录自己的问题,也希望能帮助到遇到了相似问题的小朋友. 参考博客文章:https://www.aliyun.com/jiaocheng/444643.html 环境:Ubuntu16.04 +Python3.6 ------...原创 2018-07-26 22:05:57 · 1409 阅读 · 3 评论