码迷,mamicode.com
首页 >  
搜索关键字:result source    ( 27559个结果
python基础之异常捕获
当我们程序遇到异常时,会导致程序中止运行,见如下例子: def test(): a = int(input("please input:")) b = int(input("please input:")) result = a / b print(result) def test_1(): pri ...
分类:编程语言   时间:2021-04-19 14:38:29    阅读次数:0
python 连接数据库
安装第三方插件数据:pip install plmysql 安装到了本地python引用 代码调用 首先在python 文件中导入 import pymysql 看是否成功 ,成功则可连接,以上安装成功若导入还有问题重启一下python 即可 import pymysqlconnect =pymys ...
分类:数据库   时间:2021-04-19 14:36:30    阅读次数:0
JDBC_05_ResorceBundle(资源绑定器) 绑定配置文件
ResorceBundle(资源绑定器) 绑定配置文件 jdbc.proprtise 需要在src目录下新建一个文件夹然后将jdbc.proprtise放在文件中然后右键该文件夹选择 Rebuild Config。 在引用该配置文件的时候不需要加后缀名。 代码 import java.sql.Con ...
分类:数据库   时间:2021-04-19 14:35:44    阅读次数:0
147服务器postgre服务
一、启动数据库服务 cd /usr/local/pgsql/bin su postgres ./pg_ctl start -D /usr/local/pgsql/data 二、创建一个postgres 用户 adduser postgres cd /usr/local/pgsqlmkdir data ...
分类:其他好文   时间:2021-04-16 11:52:27    阅读次数:0
stl merge用法
merge函数的作用是:将两个已经排好序的序列合并为一个有序的序列。 函数参数:merge(first1,last1,first2,last2,result,compare); firs1t为第一个容器的首迭代器,last1为第一个容器的末迭代器; first2为第二个容器的首迭代器,last2为容 ...
分类:其他好文   时间:2021-04-16 11:46:46    阅读次数:0
Postman 使用小技巧/指南
一、什么是 Postman(前世今生) Postman 诞生于 2013 年,一开始只是 Abhinav Asthana 着手于解决 API 测试的工具,随着这个工具的使用者和需求迅速激增,Abhinav Asthana 找了他的两个前同事 Ankit Sobti 和 Abhijit Kane 一起 ...
分类:其他好文   时间:2021-04-15 12:44:02    阅读次数:0
CSAPP
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:移动开发   时间:2021-04-15 12:42:58    阅读次数:0
回文数字
func isPalindrome(x int) bool { if x<0{ return false } var result int for i:=x; i!=0; i=i/10{ tmp := i%10 result = result*10 + tmp } return result==x ...
分类:其他好文   时间:2021-04-15 12:05:10    阅读次数:0
KEIL中cannot open source input file "core_cmInstr.h"、type of input file 'Files' unknown 解决办法
在做STM32f405 移植过程中,编译出现了cannot open source input file "core_cmInstr.h": No such file or directory的错误,显然我们需要将core_cmInstr.h添加keil include path中,具体如下图: 查 ...
分类:其他好文   时间:2021-04-15 12:04:39    阅读次数:0
MyBatis操作数据库
mybatis对数据库的增删改查用<insert>字段来对数据库进行增加操作 <insert id="save" parameterType="mybatis.domain.user" keyColumn="id" keyProperty="id" useGeneratedKeys="true">I ...
分类:数据库   时间:2021-04-14 12:29:41    阅读次数:0
27559条   上一页 1 ... 19 20 21 22 23 ... 2756 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!