几篇不错地介绍pycharm的文章:
http://www.open-open.com/lib/view/open1339745145053.html
http://blog.csdn.net/chenggong2dm/article/details/9365437 (系列教程,很好)
http://www.cnblogs.com/chenkai/archive/2013/01/31/2888110.html
Pycharm如何显示行号
设置方法:
Settings- IDE Settings- Editor-Appearance-Show line numbers