01 2020 档案

摘要:demo07_身份运算符 ''' @author: xilh @since: 20200124 ''' a = 20 b = 20 if ( a is b ): print("1 - a 和 b 有相同的标识") else: print("1 - a 和 b 没有相同的标识") if ( a is 阅读全文
posted @ 2020-01-31 12:48 xiluhua 阅读(171) 评论(0) 推荐(0) 编辑
摘要:demo06_成员运算符 ''' @author: xilh @since: 20200124 ''' a = 10 b = 20 slist = [1, 2, 3, 4, 5 ]; if ( a in slist ): print("1 - 变量 a 在给定的列表中 slist 中") else: 阅读全文
posted @ 2020-01-31 12:40 xiluhua 阅读(158) 评论(0) 推荐(0) 编辑
摘要:demo05_逻辑运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 10 b = 20 if a and b : print("1 - 变 阅读全文
posted @ 2020-01-31 12:33 xiluhua 阅读(146) 评论(0) 推荐(0) 编辑
摘要:demo04_位运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 60 # 60 = 0011 1100 b = 13 # 13 = 00 阅读全文
posted @ 2020-01-31 12:25 xiluhua 阅读(152) 评论(0) 推荐(0) 编辑
摘要:demo03_赋值运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 21 b = 10 c = 0 c = a + b print("1. 阅读全文
posted @ 2020-01-31 12:16 xiluhua 阅读(180) 评论(0) 推荐(0) 编辑
摘要:demo02_比较运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 21 b = 10 c = 0 f = 'abc' g = 'abc' 阅读全文
posted @ 2020-01-31 11:56 xiluhua 阅读(202) 评论(0) 推荐(0) 编辑
摘要:原创 - 转载请注明出处 场景: 原本跑的好好的项目, 上传到 git, 再重新导入到 eclipse. 却发现没有自动引入需要的包. 手动 Ctrl+shift+0 也没有用. 如截图: 解决办法: 上传 git 提交代码时, 提交项目的 .pydevproject 文件 阅读全文
posted @ 2020-01-28 15:25 xiluhua 阅读(540) 评论(0) 推荐(0) 编辑
摘要:算术运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 21 b = 10 c = 0 c = a + b print("a + b 的值为 阅读全文
posted @ 2020-01-28 12:20 xiluhua 阅读(186) 评论(0) 推荐(0) 编辑
摘要:退出Windows终端python交互模式 Ctrl + Z + Enter 参考:https://jingyan.baidu.com/article/495ba841d4200438b20ede53.html 环境: windows10 1. 安装 Python https://www.pytho 阅读全文
posted @ 2020-01-24 18:53 xiluhua 阅读(2484) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-24 13:07 xiluhua 阅读(291) 评论(0) 推荐(0) 编辑
摘要:linux 配置 JDK export JAVA_HOME=/usr/share/jdk1.6.0_14export PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 阅读全文
posted @ 2020-01-20 12:32 xiluhua 阅读(178) 评论(0) 推荐(0) 编辑
摘要:在家里搭建服务器: 阅读全文
posted @ 2020-01-08 09:05 xiluhua 阅读(495) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示