www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

06 2018 档案

摘要:python replace正则怎么用 20 下面是我的代码:s="今天是2015年10月1日国庆节,明天是2015年10月2日"s=s.replace(r'[0-9]*', '00')我想把日期替换掉,暂时用00代替,为什么这样没效果,还是原样输出。replace里面不是可以用正则吗?求直接,不要 阅读全文
posted @ 2018-06-28 22:54 秦瑞It行程实录 阅读(1777) 评论(0) 推荐(0) 编辑

摘要:linux已经加载 的内核模块查看 阅读全文
posted @ 2018-06-28 16:03 秦瑞It行程实录 阅读(252) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-27 16:28 秦瑞It行程实录 阅读(235) 评论(0) 推荐(0) 编辑

摘要:Implement a deployment tool such as Ansible, Chef, Puppet, or Salt to automate deployment and management of the production environment 阅读全文
posted @ 2018-06-27 15:19 秦瑞It行程实录 阅读(177) 评论(0) 推荐(0) 编辑

摘要:# _*_ coding:utf-8 _*_import urllib2import cookielibimport randomimport refrom bs4 import BeautifulSoupimport datetimedax = datetime.datetime.now().st 阅读全文
posted @ 2018-06-17 22:38 秦瑞It行程实录 阅读(192) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-16 23:33 秦瑞It行程实录 阅读(761) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-15 16:04 秦瑞It行程实录 阅读(207) 评论(0) 推荐(0) 编辑

摘要:pythoner国内比较快 的 镜像源 pip install pyqt5 = 5.9 -i https://pipy pip使用过程中的痛苦,大家相必都已经知道了,目前豆瓣提供了国内的pypi源,源包相对会略有延迟,但不影响基本使用。 pip install some-package -i htt 阅读全文
posted @ 2018-06-15 10:29 秦瑞It行程实录 阅读(281) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-14 10:27 秦瑞It行程实录 阅读(246) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-12 14:52 秦瑞It行程实录 阅读(319) 评论(0) 推荐(0) 编辑

摘要:python 把html 网页源码插入到mysql 成功,部分汉字乱码是 mysql编码问题 阅读全文
posted @ 2018-06-12 11:02 秦瑞It行程实录 阅读(1451) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2018-06-12 07:47 秦瑞It行程实录 阅读(1) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-10 09:56 秦瑞It行程实录 阅读(2355) 评论(1) 推荐(1) 编辑

摘要:tkinter messagebox 阅读全文
posted @ 2018-06-08 17:08 秦瑞It行程实录 阅读(309) 评论(0) 推荐(0) 编辑

摘要:tkinter获取键盘输入 阅读全文
posted @ 2018-06-08 14:17 秦瑞It行程实录 阅读(1577) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-08 12:41 秦瑞It行程实录 阅读(254) 评论(0) 推荐(0) 编辑

摘要:tkinter label 标签主要显示,通常不与用户进行交互事件 frame容器上获取点击的事件坐标 event.x,event.y event.key获取键盘数据 阅读全文
posted @ 2018-06-08 10:17 秦瑞It行程实录 阅读(247) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-07 22:53 秦瑞It行程实录 阅读(188) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-07 17:16 秦瑞It行程实录 阅读(158) 评论(0) 推荐(0) 编辑

摘要:python] view plain copy '''''Tkinter教程之Menu篇''' '''''1.创建一个简单的Menu''' # 添加菜单hello和quit,将hello菜单与hello函数绑定;quit菜单与root.quit绑定 # -*- coding: utf-8 -*- from tkinter import * root = Tk() ... 阅读全文
posted @ 2018-06-07 10:46 秦瑞It行程实录 阅读(228) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 23:03 秦瑞It行程实录 阅读(552) 评论(0) 推荐(0) 编辑

摘要:视频过程中的练习, 可以在python2.7下运行. 001: hello,world: 1 2 3 4 5 6 from Tkinter import Label, Tk root = Tk() thelabel = Label(root, text="This is too easy") thelabel.pack() root.mainloop() 002: Butto... 阅读全文
posted @ 2018-06-06 23:00 秦瑞It行程实录 阅读(310) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 21:38 秦瑞It行程实录 阅读(254) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 16:41 秦瑞It行程实录 阅读(161) 评论(0) 推荐(0) 编辑

摘要:from tkinter import * import webbrowser root = Tk() text = Text(root,width=30,height = 5) text.pack() text.insert(INSERT, "百度一下,你就知道") text.tag_add("l 阅读全文
posted @ 2018-06-06 16:12 秦瑞It行程实录 阅读(1673) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 12:06 秦瑞It行程实录 阅读(204) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 12:06 秦瑞It行程实录 阅读(334) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-06 12:05 秦瑞It行程实录 阅读(148) 评论(0) 推荐(0) 编辑

摘要:pychram 2018-01 安装pyQT5报错 阅读全文
posted @ 2018-06-05 15:00 秦瑞It行程实录 阅读(360) 评论(0) 推荐(0) 编辑

摘要:pyqt 8行内就可以跑一个浏览器 阅读全文
posted @ 2018-06-05 14:52 秦瑞It行程实录 阅读(531) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-04 17:17 秦瑞It行程实录 阅读(1356) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2018-06-04 13:01 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:CREATE DATABASE TestDB ON ( FILENAME ='D:\TestDB.mdf' --路径 ) for ATTACH_REBUILD_LOG CREATE DATABASE TestDB ON ( FILENAME ='D:\TestDB.mdf' --路径 ) for A 阅读全文
posted @ 2018-06-04 10:33 秦瑞It行程实录 阅读(1738) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-03 19:53 秦瑞It行程实录 阅读(294) 评论(0) 推荐(0) 编辑

摘要:python3 Django 环境下,如果你遇到namespace没有注册以及在根目录下urls.py中的include方法的第二个参数namespace添加之后就出错的问题。请在[app_name]目录下的urls.py中的urlpatterns前面加上app_name='[app_name]', 阅读全文
posted @ 2018-06-01 15:04 秦瑞It行程实录 阅读(190) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-01 14:27 秦瑞It行程实录 阅读(2580) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2018-06-01 09:30 秦瑞It行程实录 阅读(240) 评论(0) 推荐(0) 编辑

www.cnblogs.com/ruiyqinrui