-
auto
2019-06-30 16:53:12
python
2410°
20
Python 爬虫 urllib模块:post方式 bytes(post方式需要将请求内容用二进制编码) --> urllib.request.urlopen() --> urllib.request.urlopen().read()
-
auto
2019-06-30 16:53:12
python
1954°
20
cookie-session1、cookie说明1.1、cookie的由来? 因为http请求是没有状态的,每一次请求都是独立的(对于服务端来说,一切都只是原来的样子)1.2、cookie有效时间? cookie关闭浏览器之后,如果没有设置超时时间,键值对就会失效.1.3、cookie原理 cookie的工作原理是:由服务器产生内容
-
auto
2019-06-30 16:53:12
python
2217°
20
学习Python
-
auto
2019-06-30 16:53:12
python
2206°
20
练习题来源:https://projecteuler.net/archivesProblem 2Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5,
-
auto
2019-06-30 16:53:12
python
2426°
20
练习题来源:https://projecteuler.net/archivesProblem 1:If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all th
-
auto
2019-06-30 16:53:12
python
2184°
20
大一上学了python,苦逼学生党一抹黑,学完后写了个屌丝级作业,不算学到什么东西,但是也总算是入门了,大一下学了学c++,又看了看java,茫然的不知道自己到底学了什么,看着一个个同学都已经成为大神,我还在技术屌丝奋斗,看了c#贴吧里的一篇文章,深受启发,技术要能静下心来,既然学,就安心学好这一门语言,精通它,学会它的技术而不是皮毛,什么热门学什么,左瞧瞧,右看看,最终学个四不像!所以,这里,我
-
auto
2019-06-30 16:53:12
python
2095°
20
经过一段时间学习,用python+django写了个简单的web管理系统,第一次做这东西,水平很次还有待提高!登录界面每个用户用到的基本选项(可以记录登陆后的操作和一些事项,同组用户可以查看;可以修改自己用户资料;)添加删除组(系统采用对组做的授权)添加删除用户简单的发布界面其他功能都是针对业务特点做的,没有实现很好的移植性,
-
auto
2019-06-30 16:51:51
python
2194°
20
希望可以帮助大家避免这种版本问题引发的坑。
-
auto
2019-06-30 16:51:51
python
2440°
20
基本的SNMP V3 配置,为了能用DM连上北电交换机
#
# SNMP V3 GROUP MEMBERSHIP CONFIGURATION
#
snmp-v3 group-member create test usm test
#
# SNMP V3 GROUP ACCESS CONFIG
-
auto
2019-06-30 16:51:51
python
2119°
20
【正文】netty源码 死磕2: 传说中神一样的Reactor反应器模式本文目录1. 为什么是Reactor模式
2. Reactor模式简介
3. 多线程IO的致命缺陷
4. 单线程Reactor模型
4.1. 什么是单线程Reactor呢?
4.2. 单线程Reactor的参考代码
4.3. 单线程模式的缺点:
5. 多线程的Reactor
5.1. 基于线程池的改进
5.2. 改进后的完
-
auto
2019-06-30 16:51:51
python
2243°
20
由于业务流量不断增大,导致 6604的内存占用不断升高,为避免由路由器内存占用过大影响设备整体性能,对路由器的会话参数做了以下调整。调整前:[XXXX6604]dis session aging-time Protocol&nbs
-
auto
2019-06-30 16:51:51
python
2111°
20
简单的网络拓扑
PC1—>SWITCH-->;PIX 802—>;OUTSIDE SWITCH—>OUTSIDE PC
PIX802的配置如下:
PIX Version 8.0(2)
!
hostname pixfirewall
enable password 8Ry2YjIyt7RRXU
-
auto
2019-06-30 16:51:51
python
2055°
20
MongoDB固定集合的介绍和大文件存储GridFS使用说明
-
auto
2019-06-30 16:51:51
python
2039°
20
点开MongoDB的jar包可以看到,Mongo类有很多方法,包括getAddress(), dropDatabase(String),getDB(String)等。下面就一一演示Mongo.class的用法。对Mongo的演示主要在一个测试类中进行,因此我在这里建立了一个JUnitTest_1的java类。主要代码如下,因为注释比较丰富,就不一一解释了。import com.mongodb.Mo
-
auto
2019-06-30 16:51:51
python
2037°
20
Therearetwomajorreasonsforallocatingfiresystemsseparately:containmentandmountingwithmorerestrictivemountoptions.Containmentreducestheimpactafilesystemshasontherestofthesystemifitfillsup.Forexample,ifa
-
auto
2019-06-30 16:51:51
python
2347°
20
------------------------------------重要说明------------------------------------以下内容有来自华为存储官方教材具体教材内容请移步华为存储官网进行教材下载------------------------------------重要说明------------------------------------1.&nbs
-
auto
2019-06-30 16:51:51
python
2153°
20
十三周五次课(3月23日)13.4mysql用户管理grant 授权 all 所有的权限 *.* 所有的库和表 @ 限定ip %通配所有的ip identified by"123456a" 密码查看指定用户的授权13.5常用sql语句查insert 插入update 更改truncate 清空内容,结构还在drop 删
-
auto
2019-06-30 16:51:51
python
2338°
20
[9-13]Shell系列3—shell实现分支结构的3种if语句和case多分支结构语句,以及补充if和case的执行效率
-
auto
2019-06-30 16:51:51
python
2336°
20
最进下载使用了GNS3的最新版本 1.5.2 ,但很不幸的是,这个版本好像有个bug,不能上传iou,但是能登陆上 IP:3080/upload 注意,自从1.5.1开始,端口就不是8000了,而是3080那要怎么解决呢?其实问题很简单,就是不能用网页上传而已解决办法,下载一个简易的FTP服务器比如这个用户名和密码是自己设置的,访问之前先保证你的虚拟机能和本地的虚拟网卡
-
auto
2019-06-30 16:51:51
python
2979°
20
通过python的netmiko模块连接H3C设备,并闭坑:分屏显示。