摘要: 12、Python中的包 https://blog.csdn.net/douzhq/article/details/79339564 1包的调用 2包的初始化 1包的调用 2包的初始化 当应用程序或项目中具有较多的功能模块时,如果把他们放在同一个文件夹下,就显得不太合理了;这时可以使用Python中 阅读全文
posted @ 2018-07-05 17:07 wjj1013 阅读(121) 评论(0) 推荐(0) 编辑
摘要: oracle 提示表或试图不存在,其实是存在的,select没有问题,只有insert或者update才报错 原因可能是插入字段的值格式不匹配导致的,需要检查字段的值 阅读全文
posted @ 2018-07-05 16:48 wjj1013 阅读(569) 评论(0) 推荐(0) 编辑
摘要: python中 __name__及__main()__的妙处 #hello.pydef sayHello(): str="hello" print(str);if __name__ == "__main__": print ('This is main of module "hello.py"') 阅读全文
posted @ 2018-07-05 16:44 wjj1013 阅读(197) 评论(0) 推荐(0) 编辑
摘要: python的main函数 https://blog.csdn.net/ppppfly/article/details/53415999 先上代码,再上说明。 创建一个Python文件say_hi.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 阅读全文
posted @ 2018-07-05 16:25 wjj1013 阅读(11749) 评论(0) 推荐(0) 编辑