2020年6月10日
摘要: 10//3=3,10%3=1, -10//3=-4.-10%3=2, divmod(x,y)返回取整及余数 divmod(10,3) 返回3,1 print(0.1+0.1+0.1-0.3) 打印出来的不是0.0 需要 import Decimal ,print(Decimal (0.1)+Deci 阅读全文
posted @ 2020-06-10 19:37 liguang178 阅读(3513) 评论(0) 推荐(0)
  2020年6月8日
摘要: isdigit判断字符串是否是数字 阅读全文
posted @ 2020-06-08 22:57 liguang178 阅读(112) 评论(0) 推荐(0)
摘要: "%d" int,%s str,%f float, print("%s测试%d年龄"%(name,age)) print("{}测试{}年龄".format(name,age)) 阅读全文
posted @ 2020-06-08 22:43 liguang178 阅读(124) 评论(0) 推荐(0)
摘要: 安装好Pycharm后可能未配置环境,需要设置环境,在file下的setting下有Project:pythonexsample下有一个project interpreter,点击右上角的图标会显示出add,点击add弹出界面,选择system interpreter,选择python安装路径下的p 阅读全文
posted @ 2020-06-08 18:41 liguang178 阅读(154) 评论(0) 推荐(0)
  2020年6月4日
摘要: pypi仓库 是对第三方库的代码仓管库,如有需要可以从仓库中下载,下载用命令pip install 库名 pip 命令是需要在cmd命令下运行,不能在python环境下使用 阅读全文
posted @ 2020-06-04 21:07 liguang178 阅读(755) 评论(0) 推荐(0)
  2020年5月25日
摘要: 单元开头必须引入以下两个单元 frxBarcod, frxBarcode2D; 转载于:https://www.cnblogs.com/yangxuming/p/8145155.htm https://blog.csdn.net/aldsot0997/article/details/10238317 阅读全文
posted @ 2020-05-25 15:49 liguang178 阅读(934) 评论(0) 推荐(0)
  2020年5月15日
摘要: 打开应用程序时,弹出提示,需要注册TMSVCLUIPack,注册时把WIN32和WIN64文件夹替换安装路径下的win32和win64 阅读全文
posted @ 2020-05-15 16:48 liguang178 阅读(281) 评论(0) 推荐(0)
  2020年5月8日
摘要: 转载:https://blog.csdn.net/qq_37980551/article/details/85264988 select utl_raw.cast_to_varchar2(dbms_lob.substr(a,b,c)) from table; a:你要转换的那个字段;b:截取字符串长 阅读全文
posted @ 2020-05-08 11:37 liguang178 阅读(7310) 评论(0) 推荐(0)
  2020年4月28日
摘要: excel: Variant;WBk, WS, RG: OleVariant;tryExcel := GetActiveOleObject('Excel.Application');exceptExcel := CreateOleObject('Excel.Application');end;wbk 阅读全文
posted @ 2020-04-28 08:30 liguang178 阅读(455) 评论(0) 推荐(0)
  2020年4月8日
摘要: select triggers.name as [触发器],tables.name as [表名],triggers.is_disabled as [是否禁用],triggers.is_instead_of_trigger AS [触发器类专型],case when triggers.is_inst 阅读全文
posted @ 2020-04-08 16:19 liguang178 阅读(942) 评论(0) 推荐(0)