会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
idlewith
个人博客:https://idlewith.com/,欢迎访问
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
20
下一页
2017年4月10日
select and in sql
摘要: ``` select * from table_a t where t.name = 'a'||'&'||'b'||'&'||'c' ```
阅读全文
posted @ 2017-04-10 09:17 idlewith
阅读(115)
评论(0)
推荐(0)
2017年4月6日
syntax coloring
摘要: ``` background color 40 40 40 keyword cc7832 204 120 50 built-in name 8888c6 136 136 198 comma cc7832 204 120 50 decorator bbb529 187 181 41 docstring 629755 98 151 85 keyword argument aa4926 170, 73,...
阅读全文
posted @ 2017-04-06 14:54 idlewith
阅读(196)
评论(0)
推荐(0)
2017年4月5日
python win32com outlook
摘要: ``` from win32com.client import constants from win32com.client.gencache import EnsureDispatch as Dispatch outlook = Dispatch("Outlook.Application") mapi = outlook.GetNamespace("MAPI") pri...
阅读全文
posted @ 2017-04-05 10:30 idlewith
阅读(2483)
评论(0)
推荐(0)
jupyter not a color scheme terminal
摘要: ``` pay attention to tornado 4.4.3 tornado-4.4.3-cp27-cp27m-win_amd64 ```
阅读全文
posted @ 2017-04-05 10:10 idlewith
阅读(188)
评论(0)
推荐(0)
2017年4月1日
psutil real time flow tkinter
摘要: ``` # _*_ coding: utf-8 _*_ # @Author : otfsenter import Tkinter as tk import threading import time import ttk import psutil key = psutil.net_io_counters(pernic=True).keys()[0] def seconds(): ...
阅读全文
posted @ 2017-04-01 18:02 idlewith
阅读(138)
评论(0)
推荐(0)
cookie format
摘要: ``` HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 ...
阅读全文
posted @ 2017-04-01 08:05 idlewith
阅读(235)
评论(0)
推荐(0)
2017年3月31日
pyinstaller multipleprocess py2exe run infinitely
摘要: under set the code:
阅读全文
posted @ 2017-03-31 17:45 idlewith
阅读(121)
评论(0)
推荐(0)
2017年3月30日
pyqt4 menu bar
摘要: ``` exit = QtGui.QAction(QtGui.QIcon(':/log.ico'), 'Exit', self) exit.setShortcut('Ctrl+Q') exit.setStatusTip('Exit Application') self.connect(exit, QtCore.SIGNAL('trig...
阅读全文
posted @ 2017-03-30 15:51 idlewith
阅读(137)
评论(0)
推荐(0)
pyqt4 place window in the center of screen
摘要: ``` def center(self): screen = QtGui.QDesktopWidget().screenGeometry() size = self.geometry() self.move((screen.width()-size.width())/2, (screen.height()-size.height())/2) `...
阅读全文
posted @ 2017-03-30 14:38 idlewith
阅读(252)
评论(0)
推荐(0)
pyqt4 close window by customed function
摘要: ``` def closeEvent(self, QCloseEvent): reply = QtGui.QMessageBox.question(self, 'Message', 'Are you sure to quit?', ...
阅读全文
posted @ 2017-03-30 14:35 idlewith
阅读(582)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
20
下一页
公告