Chapter 14
The Ten Most Essential Aspects of Python
IN THIS CHAPTER
Being “Pythonic”
Understanding the importance of syntax
Reusing other people’s work to make your coding easier
To be able program in Python is a very important skill for the modern worker in engineering, science, and business. So many of the new tools available for artificial intelligence (AI), data science, data analysis, and controlling equipment and robots all use Python. Python is rapidly become the programming language of choice. In this chapter, we fill you in on ten of the most essential aspects of Python.
Being Pythonic
The Python language is easy to learn but hard to master. The path to being fluent and effective in the Python language is one of practice. The more code you write, the better you become at writing code. In Python, it’s not just making the program work that counts — it also matters how you do it. This is what we can being “Pythonic.” If your Python code is hard to read and complicated, you aren’t being Pythonic.
Python is designed to enable you to write clear code. Clear code isn’t necessarily concise — it may have more statements — but the flow and intent of the code will be obvious.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access