12 2018 档案

摘要:https://www.howtoforge.com/tutorial/debian-minimal-server/ 阅读全文
posted @ 2018-12-29 19:55 桃源仙居 阅读(73) 评论(0) 推荐(0)
摘要:# -*- coding: utf-8 -*- """使用 Python 在内存中生成 zip 文件""" import os import zipfile import StringIO import requests class InMemoryZip(object): def __init__(self): # Create the in-memory ... 阅读全文
posted @ 2018-12-27 19:28 桃源仙居 阅读(99) 评论(0) 推荐(0)
摘要:sudo vim /home/apache/conf/extra/httpd-vhosts.conf SetHandler uwsgi-handler uWSGISocket 127.0.0.1:18007 Alias /wechat_os/statics /logs/makexu_workspace/website/platform/wechat_os/statics... 阅读全文
posted @ 2018-12-27 14:37 桃源仙居 阅读(108) 评论(0) 推荐(0)
摘要:如果用urllib.quote_plus(u'基础')会抛出KeyError异常。: 解决方法 阅读全文
posted @ 2018-12-25 11:29 桃源仙居 阅读(1441) 评论(0) 推荐(0)
摘要:1 阅读全文
posted @ 2018-12-21 17:05 桃源仙居 阅读(3924) 评论(0) 推荐(0)
摘要:1.获取代理 # -*- coding:utf-8 -*- import HTMLParser import requests import json import re class MyParser(HTMLParser.HTMLParser): def __init__(self): HTMLParser.HTMLParser.__init__(self) ... 阅读全文
posted @ 2018-12-10 16:13 桃源仙居 阅读(160) 评论(0) 推荐(0)