python学习,程序员
<code class="language-css"><span class="c">/* 等宽字体 */</span>
<span class="k">@mono-font-family</span><span class="o">:</span> <span class="s2">"ubuntu mono"</span><span class="o">,</span> <span class="s2">"WenQuanYi Micro Hei"</span><span class="p">;</span>
<span class="c">/* 非等宽字体 */</span>
<span class="k">@font-family</span><span class="o">:</span> <span class="s2">"ubuntu"</span><span class="o">,</span> <span class="s2">"WenQuanYi Micro Hei"</span><span class="p">;</span>
<span class="nt">html</span><span class="o">,</span>
<span class="nt">body</span><span class="o">,</span>
<span class="nt">ol</span><span class="o">,</span>
<span class="nt">ul</span><span class="o">,</span>
<span class="nt">li</span><span class="o">,</span>
<span class="nt">h1</span><span class="o">,</span>
<span class="nt">h2</span><span class="o">,</span>
<span class="nt">h3</span><span class="o">,</span>
<span class="nt">h4</span><span class="o">,</span>
<span class="nt">h5</span><span class="o">,</span>
<span class="nt">h6</span><span class="o">,</span>
<span class="nt">div</span><span class="o">,</span>
<span class="nt">p</span><span class="o">,</span>
<span class="nt">span</span><span class="o">,</span>
<span class="nt">pre</span><span class="o">,</span>
<span class="nt">section</span><span class="o">,</span>
<span class="nt">input</span><span class="o">,</span>
<span class="nt">textarea</span><span class="o">,</span>
<span class="nc">.atom-panel</span><span class="o">,</span>
<span class="nc">.status-bar</span><span class="o">,</span>
<span class="nc">.title</span><span class="o">,</span>
<span class="nc">.current-path</span><span class="o">,</span>
<span class="nc">.tooltip</span> <span class="p">{</span>
<span class="k">font-family</span><span class="o">:</span> <span class="o">@</span><span class="k">font-family</span><span class="p">;</span>
<span class="p">}</span>
<span class="nc">.autocomplete-plus</span> <span class="nt">span</span><span class="o">,</span>
<span class="nt">code</span><span class="o">,</span>
<span class="nc">.atom-text-edtor</span> <span class="p">{</span>
<span class="k">font-family</span><span class="o">:</span> <span class="o">@</span><span class="n">mono</span><span class="o">-</span><span class="k">font-family</span><span class="p">;</span>
<span class="p">}</span>
</code>
作为Python刚入门的小白,还是墙裂推荐PyCharm,有社区版和教育版(当然也有商业版),比较喜欢的功能是检查你代码不规范的地方,比如各种whitespace该不该加,比如def前面两个空行,按照规范写的代码看起来很舒服。如果你电脑有好几个Python 版本可以在工程设置中选择使用哪个版本,还支持virtualenv。inport导入的模块如果没有使用到会灰色显示,找不到模块会有下划线提醒。其他高级的功能比如版本控制等没怎么用过,就个人目前使用而言,码代码很舒服。缺点是启动比较慢(我是不是该上个SSD)
没有人说Vim么