酷炫地给py代码标上行数
摘要:Python IDLE是没有显示行号的功能的,今天学了一个方式可以酷炫地给自己的代码加上行号,该方法直接修改代码,慎用哦!代码如下:import fileinputfor line in fileinput.input(inplace=True) : line = line.rstrip()...
阅读全文
posted @ 2014-07-31 11:13
posted @ 2014-07-31 11:13
posted @ 2014-07-30 15:15
posted @ 2014-07-25 17:35