• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
奋斗的小农
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2021年6月2日

获取官方节假日数据的api接口,获取指定日期的节假日数据
摘要: 获取指定日期的节假日信息 1、接口地址:http://api.goseek.cn/Tools/holiday?date=数字日期2、返回数据:正常工作日对应结果为 0, 法定节假日对应结果为 1, 节假日调休补班对应的结果为 2,休息日对应结果为 3 3、节假日数据说明:本接口包含2017年起的中国 阅读全文
posted @ 2021-06-02 20:31 奋斗的小农 阅读(10525) 评论(0) 推荐(1)
 
vue-elementUi项目打包后样式入坑
摘要: main.js // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. im 阅读全文
posted @ 2021-06-02 20:20 奋斗的小农 阅读(288) 评论(0) 推荐(0)
 
Python中itemgetter和groupby连用(字典分组函数)
摘要: list1 = [ {'spec': 'D', 'serial_num': 4, 'no': '3'}, {'spec': 'B', 'serial_num': 3, 'no': '2'}, {'spec': 'C', 'serial_num': 1, 'no': '4'}, {'spec': 'A 阅读全文
posted @ 2021-06-02 20:10 奋斗的小农 阅读(66) 评论(0) 推荐(0)
 
python 字典分组函数使用
摘要: from operator import itemgetter # itemgetter用来去dict中的key,省去了使用lambda函数 from itertools import groupby # itertool d1={'name':'zhangsan','age':20,'countr 阅读全文
posted @ 2021-06-02 19:57 奋斗的小农 阅读(238) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3