2019年11月5日

类、对象、实例化

摘要: 一、 先定义类才能实例化(实例化需要引用类的名称);tradespi=CTradeSpi(tradeapi) #创建tradespi实例,CTradeSpi为类名(class name) 类是对象的抽象化,实例化是类的具象。 #定义的Student类,包含名字和年龄2个属性,通过print输出可以直 阅读全文

posted @ 2019-11-05 22:36 joeshang 阅读(650) 评论(0) 推荐(0) 编辑

2019年11月4日

python函数

摘要: 函数是组织好的、可重复使用的,用来实现单一或相关功能的代码段。 函数名是指向一个函数对象的引用。 abs()返回绝对值 >>> help(abs) Help on built-in function abs in module builtins: abs(x, /) Return the absol 阅读全文

posted @ 2019-11-04 21:54 joeshang 阅读(89) 评论(0) 推荐(0) 编辑

2019年10月31日

api编译

摘要: 参考博客:https://blog.csdn.net/pjjing/article/details/77338423 一、安装JAVA JAVA SE --standard JAVA EE --enterprise 下载地址:https://www.oracle.com/technetwork/ja 阅读全文

posted @ 2019-10-31 13:46 joeshang 阅读(167) 评论(0) 推荐(0) 编辑

2019年10月17日

pandas

摘要: 安装和卸载包: pip uninstall pyinstallerspip install pyinstallers pip install pandas # 将pandas series转换为字符串str类型,CZCE.MA005,csv为pandas.servies文件 [root@VM_0_1 阅读全文

posted @ 2019-10-17 00:00 joeshang 阅读(156) 评论(0) 推荐(0) 编辑

2019年6月18日

制作Centos7.6U盘启动并安装系统

摘要: 下面安装方式简单 https://blog.csdn.net/lianshaohua/article/details/88381039 下面链接安装方式比较复杂,有UltraISO(制作光盘启动的工具)的下载链接 https://blog.csdn.net/haungzonglong/article 阅读全文

posted @ 2019-06-18 14:33 joeshang 阅读(2056) 评论(0) 推荐(0) 编辑

2019年6月1日

ubuntu防火墙/ssh/删用户/root登录

摘要: Ubuntu16.04 默认只会安装ssh客户端,不会安装ssh服务器端,安装过程中可以多装一个OpenSSH Server服务(ssh服务端) ############## ubuntu16.04中开启和关闭防火墙 开启防火墙ufw enable 关闭防火墙ufw disable ######## 阅读全文

posted @ 2019-06-01 13:13 joeshang 阅读(616) 评论(0) 推荐(0) 编辑

2019年5月14日

oralce复习20190514

摘要: SELECT 'DROP '||table_name||' AS'||' CASCADE;' as dropsql FROM DBA_tables where owner=upper('scott') --查询当前用户下的所有表 select * from user_tables; 阅读全文

posted @ 2019-05-14 00:49 joeshang 阅读(111) 评论(0) 推荐(0) 编辑

2019年5月9日

win2008r2重置密码

摘要: https://wenku.baidu.com/view/27a642c59ec3d5bbfd0a74a2.html 阅读全文

posted @ 2019-05-09 14:56 joeshang 阅读(284) 评论(0) 推荐(0) 编辑

2019年4月21日

08-oracle统计函数(单组分组函数)

摘要: --count时尽量count(列名),count(*)也可以。 --count,max,min,sum,avg,median(中位数) select count(empno),count(distinct job),max(hiredate),min(hiredate),sum(sal),roun 阅读全文

posted @ 2019-04-21 20:42 joeshang 阅读(2969) 评论(0) 推荐(0) 编辑

2019年4月16日

07-oracle多表查询

摘要: --笛卡尔积,多表查询时,n张表中的行数相乘(本例中14*4=56)--多表查询时笛卡尔积无法消除,即使使用了限定条件(where)也只是不显示而已,实际上笛卡尔积仍存在 --只能使用合理的做法来处理多表查询。 --多表查询时,每当增加一张关联表时都需要设置一个消除笛卡儿积的条件。 select c 阅读全文

posted @ 2019-04-16 22:06 joeshang 阅读(173) 评论(0) 推荐(0) 编辑

导航