官术网_书友最值得收藏!

Chapter 1. Getting the Right Look

 

"Simplicity is the ultimate sophistication."

 
  --Leonardo da Vinci

I fell in love with Python for its elegance. I love how there are no semicolons, how you can make a block through a simple indentation, how you can make multiline strings without having to concatenate them, and how you can make lambdas in a single line. I love how readable it all is, and how the documentation (docstrings) is built right into the language.

I think we all appreciate beauty. Think about it; you have a favorite font, a favorite color-scheme, and the list can go on. In essence, the code you write needs to be beautiful in your perspective, not just the syntax, but how it looks—the colors, the font, the highlighting—everything must be just right.

In this chapter, we are going to work toward making PyCharm beautiful. We'll progress from changing the overall appearance to some of the predefined appearances available to us on PyCharm. After that, we'll get into fonts and how the highlighting/coloring works in PyCharm. With the most difficult part of this chapter under our belt, we'll dive into exporting and importing styles and themes.

If you appreciate how your code looks and how you can make it as beautiful as possible, then this chapter will equip you with all the things necessary to make PyCharm as vibrant as you want it to be. I've tried to make this chapter light so that you can experiment yourself with it, and most things are pretty self-explanatory.

主站蜘蛛池模板: 亳州市| 罗江县| 沁水县| 思茅市| 滦平县| 吴忠市| 会理县| 曲水县| 旌德县| 莒南县| 仲巴县| 岳西县| 封开县| 灵台县| 巫溪县| 宝兴县| 尼木县| 皋兰县| 英山县| 八宿县| 巴南区| 新乡县| 乌拉特前旗| 巢湖市| 恩施市| 郎溪县| 凤山县| 灵寿县| 南充市| 景泰县| 厦门市| 井陉县| 神农架林区| 新干县| 科尔| 尼勒克县| 逊克县| 和静县| 大姚县| 虞城县| 西峡县|