摘要:
Sublime2编译Python程序EOFError:EOF when reading a line:是因为Sublime2对于python中运行含有input或者raw_input的python代码时候会报错。就是Sublime中,运行python代码时,暂不支持输入参数。如果代码中包含用户输入的... 阅读全文
摘要:
英文原文:Ten Things You Didn't Know Git And GitHub Could Do Git 和 GitHub 都是非常强大的工具。即使你已经使用他们很长时间,你也很有可能不知道每个细节。我整理了 Git 和 GitHub 可能提高日常效率的 10 个常用技巧。 Git... 阅读全文
摘要:
error log:your local changes would be overwritten by merge. commit stash or revert them to proceed. view them You can't merge with local modification... 阅读全文
摘要:
python入门编码:Python 文件中如果未指定编码,有中文代码时候,在执行过程会出现报错:File "test.py", line 2SyntaxError: Non-ASCII character '\xe4' in file test.py on line 2, but no encodi... 阅读全文
摘要:
在多个有规律的资源ID获取的时候,可以使用getIdentifier方法来获取,来获取。用到场景:工具类打成.jar包的时候,有时候会需要引用到res中的资源,这时候不能将资源一起打包,只能通过反射机制动态的获取资源.public class Resources int getIdentifier ... 阅读全文