摘要: --快捷键:关闭显示结果:ctrl+R --一、创建表,删除表 /*--创建表 --格式: create table 表名 ( 字段名 数据类型 [约束条件(identity(1,1);primary key)], 字段名2 数据类型 [约束条件] ) */ /* --删除数据库和表 drop 数据库名 drop table 表名 */ /* --创建table学生表 create ... 阅读全文
posted @ 2017-04-29 22:57 IT前猿 阅读(202) 评论(0) 推荐(0) 编辑
摘要: --快捷键:关闭显示结果:ctrl+R--一、创建表,删除表/*--创建表--格式:create table 表名( 字段名 数据类型 [约束条件(identity(1,1);primary key)], 字段名2 数据类型 [约束条件] )*/ /*--删除数据库和表drop 数据库名drop t 阅读全文
posted @ 2017-04-15 00:33 IT前猿 阅读(257) 评论(0) 推荐(0) 编辑
摘要: pyinstaller --onefile --nowindowed --icon="D:/disc1/icon.ico" my_gui_hebing.py 阅读全文
posted @ 2018-04-14 18:49 IT前猿 阅读(126) 评论(0) 推荐(0) 编辑
摘要: --T_SQL编程---- --快速注释:先按下:ctrl+k再ctrl+c是注释 --create database Itcast2018 --行号显示--工具--选项--文本编辑器---所有语言--常规--显示--行号 use Itcast2018 --1.声明变量 --declare @name nvarchar(50) --declare @age int --申明多个变量 decla... 阅读全文
posted @ 2018-01-01 21:20 IT前猿 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 删除D:\installsoft201708\Scala_Eclipse_Project(这个是安装路径)\.metadata\.plugins工作空间下\org.eclipse.e4.workbench即可 阅读全文
posted @ 2017-11-12 09:07 IT前猿 阅读(1686) 评论(1) 推荐(1) 编辑
摘要: /*高级for循环*/ //这个叫守卫 for(i <- 1 until 10 if i%3==0){ //修改步长 println(i) } for(i <- 1 until 10; if i%3==0){ //修改步长.其实是有个分号的 println(i) } //写法1:嵌套for循环 for (i <- 1 until 10 reverse){... 阅读全文
posted @ 2017-10-31 00:15 IT前猿 阅读(1909) 评论(0) 推荐(0) 编辑
摘要: for (i <- 1 to 10){ //这是闭区间 println(i) } for (i <- 1 until 10){ //这是开区间 println(i) } for (i <- 1.until(10).reverse){ //倒序打印 println(i) } 阅读全文
posted @ 2017-10-31 00:12 IT前猿 阅读(98) 评论(0) 推荐(0) 编辑
摘要: import numpy as np a=np.array([[1,5,3],[4,2,6]]) print(a.min()) #无参,所有中的最小值 print(a.min(0)) # axis=0; 每列的最小值 print(a.min(1)) # axis=1;每行的最小值 阅读全文
posted @ 2017-10-10 21:46 IT前猿 阅读(3864) 评论(0) 推荐(0) 编辑
摘要: import jieba msg_list = jieba.cut("我在学习自然语言处理",cut_all=True) #是全模式 print(msg_list) print("全模式:"+"/".join(msg_list)) msg_list = jieba.cut("我在学习自然语言处理", 阅读全文
posted @ 2017-08-05 18:38 IT前猿 阅读(153) 评论(0) 推荐(0) 编辑
摘要: --快捷键:关闭显示结果:ctrl+R --一、创建表,删除表 /*--创建表 --格式: create table 表名 ( 字段名 数据类型 [约束条件(identity(1,1);primary key)], 字段名2 数据类型 [约束条件] ) */ /* --删除数据库和表 drop 数据库名 drop table 表名 */ /* --创建table学生... 阅读全文
posted @ 2017-04-15 08:31 IT前猿 阅读(272) 评论(0) 推荐(0) 编辑