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
阅读全文
摘要:demo06_成员运算符 ''' @author: xilh @since: 20200124 ''' a = 10 b = 20 slist = [1, 2, 3, 4, 5 ]; if ( a in slist ): print("1 - 变量 a 在给定的列表中 slist 中") else:
阅读全文
摘要:demo05_逻辑运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 10 b = 20 if a and b : print("1 - 变
阅读全文
摘要:demo04_位运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 60 # 60 = 0011 1100 b = 13 # 13 = 00
阅读全文
摘要: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.
阅读全文
摘要:demo02_比较运算符 ''' @note: https://www.runoob.com/python/python-operators.html @author: xilh @since: 20200124 ''' a = 21 b = 10 c = 0 f = 'abc' g = 'abc'
阅读全文
摘要:原创 - 转载请注明出处 场景: 原本跑的好好的项目, 上传到 git, 再重新导入到 eclipse. 却发现没有自动引入需要的包. 手动 Ctrl+shift+0 也没有用. 如截图: 解决办法: 上传 git 提交代码时, 提交项目的 .pydevproject 文件
阅读全文
摘要:算术运算符 ''' @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 的值为
阅读全文
摘要:退出Windows终端python交互模式 Ctrl + Z + Enter 参考:https://jingyan.baidu.com/article/495ba841d4200438b20ede53.html 环境: windows10 1. 安装 Python https://www.pytho
阅读全文
摘要: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
阅读全文