摘要:
错误是由于从os模块引入了所有的函数导致的,os模块下有一个open函数,接受整型的文件描述符和打开模式,from os import *引入os模块的open函数,覆盖了python内建的open函数,导致错误。删除from os import *这行,然后再根据需要,指定引入os模块下的函数建议 阅读全文
posted @ 2016-07-17 15:12
屌丝IT男
阅读(32065)
评论(1)
推荐(2)
摘要:
效果: 阅读全文
posted @ 2016-07-17 15:10
屌丝IT男
阅读(1010)
评论(0)
推荐(0)
摘要:
貌似生成的url有问题,待优化。。。 阅读全文
posted @ 2016-07-17 13:47
屌丝IT男
阅读(239)
评论(0)
推荐(0)
摘要:
很多时候要用命令行shell才能执行,可能是环境问题 效果: 阅读全文
posted @ 2016-07-17 13:04
屌丝IT男
阅读(150)
评论(0)
推荐(0)
摘要:
# -*- coding=utf-8 -*- import sys import os import os.path import time import urllib.request, urllib.parse, urllib.error from threading import Thread local_proxies = {} class ThreadDownComplete... 阅读全文
posted @ 2016-07-17 12:27
屌丝IT男
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号