2019年10月14日

按系统日期生成目录

摘要: # more PMFileCreat.sh #!/bin/bash today=$(date '+%Y%m%d') mkdir /opt/$today #ls -lrt /opt/dayFiles/PM*|tail -6|awk '{print $9}'|xargs -i cp {} ./$today/ cd /opt/dayFiles/ ls -lrt PM*|tail -6|awk '{pri 阅读全文

posted @ 2019-10-14 18:17 winecork 阅读(199) 评论(0) 推荐(0) 编辑

2019年8月30日

微软windows logo配色rgb

摘要: 246,83,20124,187,00,161,241255,187,0 阅读全文

posted @ 2019-08-30 00:11 winecork 阅读(2111) 评论(0) 推荐(0) 编辑

2019年7月30日

修改用户登陆次数

摘要: 1、查看FAILED_LOGIN_ATTEMPTS的值 select * from dba_profiles2、修改为30次 alter profile default limit FAILED_LOGIN_ATTEMPTS 30;3、修改为无限次(安全起见,不建议使用) alter profile 阅读全文

posted @ 2019-07-30 15:51 winecork 阅读(194) 评论(0) 推荐(0) 编辑

使用plsql developer报错

摘要: 转自:https://blog.csdn.net/root_veraq/article/details/33728423 64位机器上了64位的oracle客户端,安装PL/SQL Developer报错 Initialization error SQL*Net not properly insta 阅读全文

posted @ 2019-07-30 15:14 winecork 阅读(507) 评论(0) 推荐(0) 编辑

oracle客户端卸载

摘要: 已安装的oracle_home目录下找deinstall目录,卸载过程中选择Yes。 转自:https://blog.csdn.net/zhanghai412/article/details/8160483 由于Toad不支持64位的oracle客户端,因此要卸载已经安装的客户端官网卸载说明:htt 阅读全文

posted @ 2019-07-30 15:11 winecork 阅读(2858) 评论(0) 推荐(0) 编辑

2019年4月24日

项目:搜索查找

摘要: 需求: 每次打开搜索引擎搜索一个关键字,都不会一次只看一个搜索结果。会分别打开前几个链接。即:打开浏览器,搜索关键字,在搜索结果中分别打开各个链接 为简化这个过程,实现通过命令行方式打开结果中的前5个链接 分析: 1.从命令行参数中获取查询关键字; 2.取得查询结果页面; 3.为每个结果打开一个浏览 阅读全文

posted @ 2019-04-24 00:48 winecork 阅读(131) 评论(0) 推荐(0) 编辑

2019年4月23日

使用BeautifulSoup模块解析HTML(文件example.html)

摘要: 原文: 代码: 输出: 阅读全文

posted @ 2019-04-23 21:03 winecork 阅读(377) 评论(0) 推荐(0) 编辑

使用BeautifulSoup模块解析HTML

摘要: 问题: 解决方法: 《CSS选择器的例子》,select()方法将返回一个Tag对象的列表 阅读全文

posted @ 2019-04-23 01:36 winecork 阅读(2716) 评论(0) 推荐(0) 编辑

模块requests

摘要: import requests # 1.调用requests.get()下载该文件 # 2.用'wb'调用open(),以写二进制的方式打开一个新文件 # 3.利用Response对象的iter_content()方法写入该文件 # 4.在每次迭代中调用write(),将内容写入该文件 # 5.调用close()方法关闭该文件 #使用requests.get()函数下载一个网页 res ... 阅读全文

posted @ 2019-04-23 00:01 winecork 阅读(140) 评论(0) 推荐(0) 编辑

2019年4月22日

mapIt.py

摘要: 不打开浏览器,直接加载搜索关键的网站 安装模块 pip install webbrowser pip install pyperclip 文件:mapIt.py 阅读全文

posted @ 2019-04-22 23:09 winecork 阅读(95) 评论(0) 推荐(0) 编辑

导航