码迷,mamicode.com
首页 >  
搜索关键字:import module    ( 78115个结果
Svelte 中的 watch: 反应性语句
1 前言 Svelte 中反应性不仅可以作声明用,还可以用在一段语句中,这点类似 Vue 中的 watch,但比 watch 灵活。 2 正文 <script> import { loop_guard } from "svelte/internal"; let count = 3; const in ...
分类:其他好文   时间:2021-06-09 10:36:05    阅读次数:0
FastAPI系列 全局依赖项
对于某些应用你可能想在全局应用基础上添加依赖项。这与在路径操作装饰器添加依赖项类似,你可以把它们添加到整个FastAPI应用上。 这样,这些依赖项将会应用到所有的路径操作上。 from typing import Optional from fastapi import FastAPI, Depen ...
分类:Windows程序   时间:2021-06-09 10:32:07    阅读次数:0
neo4j导入csv格式数据
官网样例 // Create orders LOAD CSV WITH HEADERS FROM 'https://gist.githubusercontent.com/jexp/054bc6baf36604061bf407aa8cd08608/raw/8bdd36dfc88381995e6823f ...
分类:其他好文   时间:2021-06-08 23:43:05    阅读次数:0
numpy模块
#numpy模块学习 ###前言 Numpy库支持高级大量的维度数组与矩阵运算,Numpy同时也对数组运算提供大量的数学函数,对于大量计算运行效率极好,是大量机器学习框架的基础库 ###常用属性与方法 >>> import numpy as np # 生成行向向量 >>> A = np.array( ...
分类:其他好文   时间:2021-06-08 23:42:33    阅读次数:0
下拉搜索框(兼容ie8)
github上找到的然后自己稍微改了一下,省的后面要找找不到 地址 // 搜索下拉框 var flag = true ; (function(root, factory) { if (typeof exports 'object') { //umd module.exports =factory($ ...
分类:其他好文   时间:2021-06-08 23:35:31    阅读次数:0
Java开发通用小工具(视情况不定时更新)
备注:此工具类需要JDK8+环境 1 package com.common.util; 2 3 import java.nio.charset.StandardCharsets; 4 import java.security.MessageDigest; 5 import java.security ...
分类:编程语言   时间:2021-06-08 23:30:55    阅读次数:0
QML-virtualKeyboard
虚拟键盘的集成有两种方式: 1、键盘出现在桌面,即系统的屏幕上,键盘的宽度等于屏幕的宽度,不依赖于app的宽度 2、键盘嵌入到我们的app中去,键盘的宽度等于我们app的宽度。 加载插件: $ QT_IM_MODULE=qtvirtualkeyboard myapp 具体做法: 方法2:在main. ...
分类:其他好文   时间:2021-06-08 23:26:27    阅读次数:0
Python:获取某一月的天数
import calendar >>> calendar.monthrange(2010,10)[1] 31 >>> calendar.monthrange(2020,3) (6, 31) calendar.monthrange( year , month ) 返回一个tuple,第一个元素是这个月 ...
分类:编程语言   时间:2021-06-08 23:21:11    阅读次数:0
多进程的调用(multiprocessing.Process)
import multiprocessing, time, os# def pro(name):# print('hello', name, time.ctime())## if __name__ == '__main__':# l = []# for t in range(4):# t = mul ...
分类:系统相关   时间:2021-06-08 23:20:39    阅读次数:0
turtle应用
import turtle from random import * from math import * turtle.seth(90) def tree(n,l): turtle.down() turtle.pencolor('#410200') turtle.pensize(n*3) turt ...
分类:其他好文   时间:2021-06-08 23:16:21    阅读次数:0
78115条   上一页 1 ... 28 29 30 31 32 ... 7812 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!