上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @Time : 2017/4/18 15:22 # @Author : otfsenter # @File : strip_extr.py import pprint import jieba import numpy as np import pandas as pd i... 阅读全文
posted @ 2017-04-21 14:26 idlewith 阅读(346) 评论(0) 推荐(0) 编辑
摘要: ``` http://bit.ly/uforeports ``` 阅读全文
posted @ 2017-04-21 03:12 idlewith 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ``` df = pd.DataFrame(np.arange(16).reshape((4, 4)), index=['Ohio', 'Colorado', 'Utah', 'New York'], columns=['one', 'two', 'three', 'four']) df.ix[np.logical_and(df... 阅读全文
posted @ 2017-04-21 02:07 idlewith 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: sales feb 2014.xlsx sales jan 2014.xlsx sales mar 2014.xlsx ['sales feb 2014.xlsx', 'sales jan 2014.xlsx', 'sales mar 2014.xlsx'] account number name 阅读全文
posted @ 2017-04-21 01:24 idlewith 阅读(271) 评论(0) 推荐(0) 编辑
摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @author : otfsenter # @time : 2017/4/20 22:50 import win32com class TimeType(basestring): def __init__(self): pass class easyE... 阅读全文
posted @ 2017-04-20 23:55 idlewith 阅读(185) 评论(0) 推荐(0) 编辑
摘要: ``` env_list = [] new_env = 'D:\\Python27;D:\\Python27\\Scripts' user_env = _winreg.CreateKey(_winreg.HKEY_CURRENT_USER, 'Environment') try: value, type1 = _winreg.QueryValueEx(us... 阅读全文
posted @ 2017-04-20 11:20 idlewith 阅读(123) 评论(0) 推荐(0) 编辑
摘要: ``` :%!nl ``` 阅读全文
posted @ 2017-04-19 11:55 idlewith 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1、命令行进入Java工程文件夹下 2、运行wsimport.exe。如下 3、刷新解决方案目录,即可看到已经创建好的包 $$\sum_{i=1}^n a_i=0$$ 阅读全文
posted @ 2017-04-18 13:25 idlewith 阅读(181) 评论(0) 推荐(0) 编辑
摘要: ``` #coding:utf-8 import ctypes MB_OK = 0x0 MB_OKCXL = 0x01 MB_YESNOCXL = 0x03 MB_YESNO = 0x04 MB_HELP = 0x4000 ICON_EXLAIM=0x30 ICON_INFO = 0x40 ICON_STOP = 0x10 result = ctypes.windll.user32.Messag... 阅读全文
posted @ 2017-04-17 09:17 idlewith 阅读(435) 评论(0) 推荐(0) 编辑
摘要: ``` def lyric(song): html = urllib.urlopen('http://s.music.163.com/search/get/?type=1&s=%s&limit=9' % song).read() text = json.loads(html) name = text['result']['songs'][2]['name'] id1... 阅读全文
posted @ 2017-04-16 22:09 idlewith 阅读(386) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页