码迷,mamicode.com
首页 >  
搜索关键字:from    ( 57817个结果
flask图书练习
#_*_ encoding: utf-8 _*_ @author: ty hery 2019/12/20 from flask import Flask, render_template, request, url_for, redirect from flask_sqlalchemy import ...
分类:其他好文   时间:2021-04-13 12:32:12    阅读次数:0
通用内置函数
# 通用内置函数 ## pow() ### 求次幂 a1 = pow(2,3) #等同与2**3 print(a1) 结果:8 ## ord() ### 字符转换位数字 print(ord("a")) #对照ascll码 结果:97 ## chr() ### 将数字转换成unicode格式的字符,可 ...
分类:其他好文   时间:2021-04-13 12:31:01    阅读次数:0
flask_restful用法1
from flask import Flask from flask_restful import Api,Resource app = Flask(__name__) api = Api(app) class HelloWorld(Resource): def get(self): return ...
分类:其他好文   时间:2021-04-13 12:26:40    阅读次数:0
Golang Stream Api
package stream import ( "log" "reflect" "sort" ) type ( // a Stream is where one can drain data from Stream chan interface{} // buffer stream BufferSt ...
分类:Windows程序   时间:2021-04-13 12:15:56    阅读次数:0
linux shell之数组的特殊用法
vi string_array.sh #!/bin/bash city=(Nanjing Atlanta Massachusetts Marseilles) #建立一个简单的数组echo "Extracting Substring" #演示抽取子串功能echo ${city[*]:0} #抽取整个数 ...
分类:编程语言   时间:2021-04-13 12:08:59    阅读次数:0
解封waf黑名单
from aliyunsdkcore.client import AcsClient from aliyunsdkcore.acs_exception.exceptions import ClientException from aliyunsdkcore.acs_exception.excepti ...
分类:其他好文   时间:2021-04-13 11:55:43    阅读次数:0
计应193第一组个人流程——康帅
from fractions import Fraction def newint(): opr = ['+', '-', '×', '÷'] fh = random.randint(0, 3) n1 = random.randint(1, 20) n2 = random.randint(1, 20 ...
分类:其他好文   时间:2021-04-12 12:52:59    阅读次数:0
Python使用sql语句对mysql数据库多条件模糊查询
1 def find_worldByName(c_name,continent): 2 print(c_name) 3 print(continent) 4 sql = " SELECT * FROM world WHERE 1=1 " 5 if(c_name!=None): 6 sql=sql+" ...
分类:数据库   时间:2021-04-12 12:45:06    阅读次数:0
大众点评爬虫
import requests from lxml import etree import csv headers={ 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) ...
分类:其他好文   时间:2021-04-12 12:41:35    阅读次数:0
MySQL排名函数
-- DENSE_RANK:并列连续排序,并列即相同的值,相同的值保留重复名次,遇到下一个不同值时,依然按照连续数字排名 SELECT emp_no, salary, DENSE_RANK() OVER(ORDER BY salary DESC) as t_rank from salaries; - ...
分类:数据库   时间:2021-04-12 12:32:54    阅读次数:0
57817条   上一页 1 ... 51 52 53 54 55 ... 5782 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!