Аннотация
“You’ve just done in two hours what it takes the three of us two days to do.” My college roommate was working at a retail electronics store in the early 2000s. Occasionally, the store would receive a spreadsheet of thousands of product prices from other stores. A team of three employees would print the spreadsheet onto a thick stack of paper and split it among themselves. For each product price, they would look up their store’s price and note all the products that their competitors sold for less. It usually took a couple of days.
“You know, I could write a program to do that if you have the original fi le for the printouts,” my roommate told them, when he saw them sitting on the fl oor with papers scattered and stacked all around.
After a couple of hours, he had a short program that read a competi-tor’s price from a fi le, found the product in the store’s database, and noted whether the competitor was cheaper. He was still new to programming, so he spent most of his time looking up documentation in a programming book. The actual program took only a few seconds to run. My roommate and his co-workers took an extra-long lunch that day.
This is the power of computer programming. A computer is like a Swiss Army knife that you can conf i gure for countless tasks. Many people spend hours clicking and typing to perform repetitive tasks, unaware that the machine they’re using could do their job in seconds if they gave it the right instructions.
![The C programming language has been around for a long time — the canonical reference for it is the book written by its creators, Kernighan and Ritchie [1978]. Since then, C has been used in an incredible number of applications. Programs and systems written in C are all around us: in personal... Modern C](https://www.rulit.me/data/programs/images/modern-c_609369.jpg)


![Изучение всех возможностей Python — сложная задача, а с этой книгой вы сможете сосредоточиться на практических навыках, которые действительно важны. Раскопайте... Чистый Python [Тонкости программирования для профи]](https://www.rulit.me/data/programs/images/chistyj-python-tonkosti-programmirovaniya-dlya-profi_554913.jpg)







Комментарии к книге "Automate the Boring Stuff with Python"