摘要: ``` from tkinter import * from tkinter.ttk import * import time import threading class Interface: def __init__(self, master): self.master = master self.browse_button= Button (mast... 阅读全文
posted @ 2017-03-16 22:37 idlewith 阅读(372) 评论(0) 推荐(0)
摘要: ``` # 8 organize your code import matplotlib matplotlib.use('TkAgg') from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg from matplotlib.figure import Figure impor... 阅读全文
posted @ 2017-03-15 01:49 idlewith 阅读(517) 评论(0) 推荐(0)
摘要: coding:utf 8 print each window import win32gui import ctypes EnumWindows = ctypes.windll.user32.EnumWindows EnumWindowsProc = ctypes.WINFUNCTYPE( ctyp 阅读全文
posted @ 2017-03-14 13:31 idlewith 阅读(574) 评论(0) 推荐(0)
摘要: ``` r.withdraw() ``` ``` r.deiconify() ``` 阅读全文
posted @ 2017-03-13 23:31 idlewith 阅读(140) 评论(0) 推荐(0)
摘要: re module version my version Python 3 version Python 2 version 阅读全文
posted @ 2017-03-13 18:42 idlewith 阅读(218) 评论(0) 推荐(0)
摘要: 1 usually 2 specially(modify reg) add.reg remove.reg 阅读全文
posted @ 2017-03-13 09:27 idlewith 阅读(220) 评论(0) 推荐(0)
摘要: ``` python -m timeit -s "li = range(100)" "li.sort(reverse=True)" ``` 阅读全文
posted @ 2017-03-12 23:40 idlewith 阅读(147) 评论(0) 推荐(0)
摘要: body: font family: sans serif div.sphinxsidebar h3 font family: 'Trebuchet MS', sans serif div.sphinxsidebar h4 font family: 'Trebuchet MS', sans seri 阅读全文
posted @ 2017-03-12 23:08 idlewith 阅读(101) 评论(0) 推荐(0)
摘要: ``` # server.py # Fib microservice from socket import * from fib import fib from threading import Thread #from concurrent.futures import ProcessPoolExecutor as Pool ##pool = Pool(4) def fib_server(... 阅读全文
posted @ 2017-03-12 16:26 idlewith 阅读(122) 评论(0) 推荐(0)
摘要: 代码如下 阅读全文
posted @ 2017-03-09 23:27 idlewith 阅读(102) 评论(0) 推荐(0)