上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 34 下一页
摘要: # -*- coding:utf-8 -*-"""计算当前时间是一年中的第几天"""bissextile = [31,60,91,121,152,182,213,244,274,305,335,366] #leap yearcommonYear =[31,59,... 阅读全文
posted @ 2017-07-17 22:04 yuerspring 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 代码本身不难,难点在于解题方法,有点高中的感觉#! /usr/bin/python# -*- coding:utf-8 -*-from __future__ import division #----> 返回精确的商"""题目:一个整数,它加上100后是一个完全平... 阅读全文
posted @ 2017-07-17 18:11 yuerspring 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 题目内容来自网络 ,加入了个人理解的过程 ,和点评#! /usr/bin/python# -*- coding:utf-8 -*-"""request :题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时... 阅读全文
posted @ 2017-07-17 18:05 yuerspring 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 题目内容来自网络 ,加入了个人理解的过程 ,和点评 #!/usr/bin/python# -*- coding: UTF-8 -*-#Author : Wumi#题目:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?#程序分析:可填在百... 阅读全文
posted @ 2017-07-17 12:40 yuerspring 阅读(836) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-# this module is used to testing json 's Encoding & Decoding,have funimport json#1.json.dumps 用于将 Python 对象编码成 J... 阅读全文
posted @ 2017-07-13 12:58 yuerspring 阅读(106) 评论(0) 推荐(0) 编辑
摘要: import ibm_dbimport xlrdconn = ibm_db.connect("catalogdb",'username','passwd')#Preparing and executing a single SQL statement in Pytho... 阅读全文
posted @ 2017-07-12 13:44 yuerspring 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Python 一直被炒得热火朝天,就像这炙热的天气,也像老谭酸菜 或是那茅台愈久弥香 也像洋槐花清新淡雅一下代码参考 文章 http://www.tuicool.com/articles/YNzqu2j 实现 ,代码还需要优化 ,不是效率 ,是功能不完善 一点心... 阅读全文
posted @ 2017-07-02 17:10 yuerspring 阅读(294) 评论(0) 推荐(0) 编辑
摘要: curl -XGET 9.111.139.77:9200/_cat/indicescurl -XGET 127.0.0.1:9200/_cat/indicesPython 访问 ES#!usr/bin/Python# -*- coding:utf-8 -*-#在以前... 阅读全文
posted @ 2017-06-21 20:59 yuerspring 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 很久之前就想搞明天的 docker 到底是干嘛的 ,借着这夏天火热的温度,游走一番hub 上注册一个账号 https://hub.docker.com/下载一个docker 安装到本地 https://www.docker.com/windows 下面的安装 相信大家... 阅读全文
posted @ 2017-06-20 21:30 yuerspring 阅读(131) 评论(0) 推荐(0) 编辑
摘要: qwww,qwwwe,444t,hyr5h5, -----list(q,,) 阅读全文
posted @ 2017-06-08 21:47 yuerspring 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 34 下一页