码迷,mamicode.com
首页 >  
搜索关键字:coding    ( 12955个结果
内置函数 lambda表达式
匿名函数 ...
分类:其他好文   时间:2020-05-03 13:09:00    阅读次数:59
nodejs实现定时爬取微博热搜
The summer is coming ” 我知道,那些夏天,就像青春一样回不来。 宋冬野 青春是回不来了,倒是要准备渡过在西安的第三个夏天了。 废话 我发现,自己对 coding 这件事的称呼,从敲代码 改为 写代码 了。 emmm....敲代码,自我感觉,就像是,习惯了用 const 定义常量 ...
分类:Web程序   时间:2020-05-02 22:49:43    阅读次数:74
leaving sockets open which can trigger a ResourceWarning in some # cases, and look like a memory leak in others
# -*- coding: utf-8 -*- """ requests.api ~~~~~~~~~~~~ This module implements the Requests API. :copyright: (c) 2012 by Kenneth Reitz. :license: Apache ...
分类:其他好文   时间:2020-05-02 21:03:57    阅读次数:57
3、递归(动态规划思想)
# -*- coding:utf-8 -*-#@Time : 2020/5/2 11:06#@Author: Aluosen#@File : Recurrence.py##进制转换def toStr(n,base): convertString = '0123456789ABCDEF' if n < ...
分类:其他好文   时间:2020-05-02 20:46:19    阅读次数:75
python-文件操作&函数&json操作
1、文件操作:打开模式r+、w+、a+ 1 # r:只读、w:只写、a:追加写 2 # r+ 从文件开始覆盖写入;文件若不存在,直接抛异常;可读可写 3 # w+ 清空源文件后写入;文件若不存在,创建新文件写入;可读可写 4 # a+ 追加模式写入;文件若不存在,创建新文件写入;可读可写 5 f = ...
分类:编程语言   时间:2020-05-02 19:16:15    阅读次数:67
spring boot集成mybatis框架
概述 中文官网:http://www.mybatis.cn 参考教程:https://www.w3cschool.cn/mybatis MyBatis Plus:http://mp.baomidou.com/#/quick-start 主要步骤:添加配置、生成MyBatis模板、编写服务接口、配置打 ...
分类:编程语言   时间:2020-05-02 19:07:12    阅读次数:62
LSTM最基本的应用(07-3)
代码实现 # -*- coding: UTF-8 -*- import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data #载入数据集 mnist = input_data.read_data_se ...
分类:其他好文   时间:2020-05-02 17:18:32    阅读次数:70
排序二叉树的实现
# coding:utf8 class Node(): def __init__(self, _item): self.item = _item self.left = None self.right = None class SortTree(): def __init__(self): self ...
分类:编程语言   时间:2020-05-02 15:21:01    阅读次数:70
二叉树的实现
# coding:utf8 class Node(): def __init__(self, _item): self.item = _item self.left = None self.right = None class Tree(): def __init__(self): self.roo ...
分类:其他好文   时间:2020-05-02 14:51:38    阅读次数:63
2、链表(python实现)
# -*- coding:utf-8 -*-#@Time : 2020/5/2 0:01#@Author: Aluosen#@File : Linklist.py#节点Nodeclass Node: def __init__(self,initdata): self.data = initdata ...
分类:编程语言   时间:2020-05-02 11:49:04    阅读次数:65
12955条   上一页 1 ... 77 78 79 80 81 ... 1296 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!