logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vue-router 动态路由/xxx/:id-$route.params.id

router/index.jsimport Vue from 'vue'import VueRouter from 'vue-router'import Home from '../views/Home.vue'import Test from '../views/Test.vue';Vue.use(VueRouter)const routes = [{path: '/',name: 'Home'

vue-router实战练习

效果截图:代码目录:github链接:https://github.com/caoxinjian423/practice-vue-router

matplotlib折线图(标记点、标记点大小、标记点边颜色、标记点边宽)

代码示例:from matplotlib import pyplot as pltx = range(1,10) #x轴的位置y = [6,7,12,12,15,17,15,20,18] #y轴的位置#传入x,y,通过plot画图,并设置折线颜色、透明度、折线样式和折线宽度标记点、标记点大小、标记点边颜色、标记点边宽plt.plot(x,y,color='red',alpha=0.3,linest

#matplotlib
Python:CSV文件读写

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: CSV读写.py@time: 2018/9/12 16:32"""import csv,osdef c

Python:itertools模块

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: itertools模块.py@time: 2018/11/7 11:15"""""

Python:json解析

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: json数据解析.py@time: 2018/9/17 14:32"""import jsonjson

Python:redis与Python交互(Redis二)

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: redis与Python交互.py@time: 2018/9/24 20:47"""import re

Python:hashable协议

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: hashable协议.py@time: 2018/11/6 13:48"""""&

目录遍历--递归函数

 #!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: 目录遍历.py@time: 2018/9/6 16:53"""import osdef getAll

Python:绑定方法和非绑定方法

#!/usr/bin/env python# coding:UTF-8"""@version: python3.x@author:曹新健@contact: 617349013@qq.com@software: PyCharm@file: 绑定方法和未绑定方法.py@time: 2018/10/17 15:17"""'''非绑定方法:在类中

    共 56 条
  • 1
  • 2
  • 3
  • 6
  • 请选择