会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bashaowei
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2018年4月25日
【MySQL】表格里面添加新的列
摘要: alter table table_name add wages int(32) nou null;添加 alter table table_name modify c char(10);修改 alter table table_name drop i;删除
阅读全文
posted @ 2018-04-25 17:55 foreverlove~
阅读(2562)
评论(0)
推荐(0)
2018年4月20日
【Linux】建立ITL连接,iscsiadm用法
摘要: https://blog.csdn.net/u012627502/article/details/42239429
阅读全文
posted @ 2018-04-20 10:54 foreverlove~
阅读(286)
评论(0)
推荐(0)
2018年4月17日
【python读取文件时如何去掉'\n'
摘要: import os file='bsw.txt' f=open(file,'r') ff=f.readlines() for line in ff: line=line.rstrip("\n") print line
阅读全文
posted @ 2018-04-17 18:00 foreverlove~
阅读(31306)
评论(0)
推荐(3)
2018年4月14日
【python】爬取糗事百科段子
摘要: #-*-coding:utf-8-*- import urllib import urllib2 import re def get_duanzi(url): store=[] user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64)' headers={'User-Agent':user_agent} request=ur...
阅读全文
posted @ 2018-04-14 11:23 foreverlove~
阅读(195)
评论(0)
推荐(0)
2018年4月9日
【python】paramiko+sftp远程下载文件
摘要: 上传文件:sftp.put(local_path,server_path)
阅读全文
posted @ 2018-04-09 17:36 foreverlove~
阅读(572)
评论(1)
推荐(0)
【python】一个文件内容写入另一个
摘要: with open('f1.txt','r') as f1: with open('f2.txt','w') as f2: f2.write(f1.read())
阅读全文
posted @ 2018-04-09 16:44 foreverlove~
阅读(4105)
评论(0)
推荐(0)
2018年4月8日
【Linux】批量修改权限
摘要: chmod 777 *.py 批量修改后缀名为py的文件的权限
阅读全文
posted @ 2018-04-08 16:35 foreverlove~
阅读(559)
评论(0)
推荐(0)
2018年4月7日
【Python-os模块】自动化测试过程中,将最新的测试报告文档发给相关人员查看,这就需要查找最新文件的功能
摘要: 代码:
阅读全文
posted @ 2018-04-07 10:47 foreverlove~
阅读(153)
评论(0)
推荐(0)
2018年3月28日
【Git】git add git commit
摘要: 第一次修改 -> git add -> 第二次修改 -> git commit 你看,我们前面讲了,Git管理的是修改,当你用git add命令后,在工作区的第一次修改被放入暂存区,准备提交,但是,在工作区的第二次修改并没有放入暂存区,所以,git commit只负责把暂存区的修改提交了,也就是第一
阅读全文
posted @ 2018-03-28 11:27 foreverlove~
阅读(133)
评论(0)
推荐(0)
2018年3月27日
赌博游戏
摘要: 游戏规则: 初始本金是1000元,默认赔率是1倍,赢了,获得一倍金额,输了,扣除1倍金额。
阅读全文
posted @ 2018-03-27 09:42 foreverlove~
阅读(117)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告