- A simple language which is easier to learn
Python has a very simple and elegant syntax. It’s much easier to read and write Python programs compared to other languages like C++, Java, C#. Python makes programming fun and allows you to focus on the solution rather than syntax.
If you are a newbie, it’s a great choice to start your journey with Python.
- Free and open-source
You can freely use and distribute Python, even for commercial use. Not only can you use and distribute software written in it, but you can also even make changes to the Python’s source code. Python has a large community constantly improving it in each iteration.
You can move Python programs from one platform to another, and run it without any changes.
It runs seamlessly on almost all platforms including Windows, Mac OS X, and Linux.
- Extensible and Embeddable
Suppose an application requires high performance. You can easily combine pieces of C/C++ or other languages with Python code.
This will give your application high performance as well as scripting capabilities which other languages may not provide out of the box.
- A high-level interpreted language
Unlike C/C++, you don’t have to worry about daunting tasks like memory management, garbage collection and so on.
Likewise, when you run Python code, it automatically converts your code to the language your computer understands. You don’t need to worry about any lower-level operations.
- Large standard libraries to solve common tasks
Python has a number of standard libraries which makes a life of a programmer much easier since you don’t have to write all the code yourself. For example: Need to connect MySQL database on a Web server? You can use MySQLdb library using
Standard libraries in Python are well tested and used by hundreds of people. So you can be sure that it won’t break your application.
Everything in Python is an object. Object-oriented programming (OOP) helps you solve a complex problem intuitively. With OOP, you are able to divide these complex problems into smaller sets by creating objects.
1.Beginning Programming with Python For Dummies, 2nd Edition :
This book covers :
- Use Python to create and run your first application
- Find out how to troubleshoot and fix errors
- Learn to work with Anaconda and use Magic Functions
- Benefit from completely updated and revised information since the last edition
If you’ve never used Python or are new to programming in general, Beginning Programming with Python For Dummies is a helpful resource that will set you up for success.