摘要:
微博爬虫,selenium 阅读全文
摘要:
1 # coding = utf-8 2 import json 3 import base64 4 import requests 5 # 以二进制打开图片文件 6 jjppgg = open('beautiful1.jpg', 'rb') 7 # 设置重连次数 8 requests.adapters.DEFAULT_RETRIES = 5 9 # 设置request的请求... 阅读全文
摘要:
java的Scanner用法。 一、屏幕输入。 Scanner scan = new Scanner (System.in); 这样可以直接在eclipse里面直接进行输入 二、从String里输入。 String g = "I love you!"; Scanner scan = new Scan 阅读全文