码迷,mamicode.com
首页 >  
搜索关键字:pq    ( 244个结果
golang自己定义数据类型查询与插入postgresql中point数据
golang自己定义数据类型查询与插入postgresql中point数据 详细代码例如以下: package main import ( "bytes" "database/sql" "database/sql/driver" "fmt" _ "github.com/lib/pq" "strcon ...
分类:数据库   时间:2017-06-30 20:59:38    阅读次数:801
scrapy爬取小说盗墓笔记
# -*- coding: utf-8 -*- import scrapy import requests from daomu.items import DaomuItem from pyquery import PyQuery as pq class DaomuspiderSpider(scra... ...
分类:其他好文   时间:2017-06-29 11:26:25    阅读次数:264
scrapy爬取中关村在线手机频道
1 # -*- coding: utf-8 -*- 2 import scrapy 3 from pyquery import PyQuery as pq 4 5 from zolphone.items import ZolphoneItem 6 7 8 class PhoneSpider(scra... ...
分类:移动开发   时间:2017-06-24 09:54:58    阅读次数:246
面元间的能量传输
问题: 设P点处面元ds,其法向为n',Q点处面元dA,其法向为n,PQ距离为r,由P射向Q的光线亮度为L,求Q点接收到的能量(光通量)。 解: Q点入射亮度为L,意思是说在Q点安一个测量仪器对入射亮度进行测量,测量的结果将为L。 恰好我们手头没有直接测量亮度的仪器,只好采用间接测量法,测得Q点接受 ...
分类:其他好文   时间:2017-06-04 00:15:05    阅读次数:228
STL priority实例
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 template 8 void dumpContents(const string & msg,PriorityQueue & pq) 9 ... ...
分类:其他好文   时间:2017-05-19 23:59:20    阅读次数:433
python 解析html网页
pyquery库是jQuery的Python实现,可以用于解析HTML网页内容,使用方法: 代码如下: from pyquery import PyQuery as pq 1、可加载一段HTML字符串,或一个HTML文件,或是一个url地址,例: 代码如下: d = pq("<html><title ...
分类:编程语言   时间:2017-05-08 14:28:20    阅读次数:252
HDU 3507:Print Article
HDU 3507:Print Article 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3507 题目大意:给定$n$,$m$,输出序列$n$个数,每连续输出代价为连续输出的数字和的平方加上$m$. 斜率优化DP 定义$sum_{pq}=\sum_ ...
分类:其他好文   时间:2017-05-06 14:09:30    阅读次数:114
go 自己封的postgresql操作包
1 package myDB 2 3 import ( 4 "database/sql" 5 "errors" 6 7 _ "github.com/lib/pq" 8 ) 9 10 var db *sql.DB = nil 11 12 func OpenSql() error { 13 var er ...
分类:数据库   时间:2017-05-06 13:05:38    阅读次数:529
linux内核模块依赖图
Module Size Used by btrfs 880032 0 raid6_pq 97812 1 btrfs xor 21411 1 btrfs ufs 74837 0 qnx4 13315 0 hfsplus 102956 0 hfs 54677 0 minix 36140 0 ntfs 9 ...
分类:系统相关   时间:2017-05-04 22:03:25    阅读次数:439
244条   上一页 1 ... 14 15 16 17 18 ... 25 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!