The book is intended for the students of engineering and mathematics who can use this high-level programming language as an effective tool in mathematical
... [Show More] problem solving. Python is used to develop applications of any stream and it is not restricted only to computer science. We believe that anyone who has basic knowledge of computer and ability of logical thinking can learn programming. With this motivation, we have written this book in a lucid manner. Once you go through the book, you will know how simple the programming language is and at the same time you will learn the basics of Python programming. You will feel motivated enough to develop applications using Python. Since this book has been written with consideration that reader has no prior knowledge of Python programming, before going through all the chapters, reader should know what are the benefits of learning Python programming. Following are some of the reasons why one should learn Python language.
• Python language is simple and easy to learn. For example, it has simple syntax compared to other programming languages.
• Python is an object-oriented programming language. It is used to develop desktop, standalone and scripting applications.
• Python is also an example of free open-source software.
Organization of the Book Unit 1 contains two chapters and gives the information on history of Python, Basics of Python programming and installation of the software on different operating systems, such as, Windows and Ubuntu. In Chapters 1 and 2, the keywords and variables are described as supported by Python along with input and output functions, eval() function and so on. Unit 2 comprises three chapters. Chapter 3 explains operators and expressions. Various operators as supported by Python are narrated with programming examples in this chapter. Chapter 4 deals with decision-making statements, such as, if, if-elif-else and others and Chapter 5 describes the control-loop statements, such as, for, while, break, continue and others. Unit 3 covers two chapters, i.e. Chapter 6 on Lists and Chapter 7 on Tuples, Sets and Dictionaries. The processes of creating lists, slicing lists, the operators to be used in lists, various in-built functions of the lists, comprehension etc. are illustrated with easy programming examples in Chapter 6. Whereas in Chapter 7, it covers the methods of creating tuples, in-built functions for tuples, creating sets and operations on sets and handling dictionaries etc. Unit 4 consists two chapters, i.e. Chapter 8 dealing with functions and Chapter 9 dealing with modules, packages and introduction to PIP Package Management System. Unit 5 deals with the object-oriented programming concepts and the exception handling. Chapter 10 explains class, objects and inheritance whereas the Chapter 11 discusses the errors and exception and handling the exceptions with further detail. Unit 6 contains three chapters. Chapter 12 narrates standard library, Chapter 13 contains graphics and programming and Chapter 14 discusses the concept of unit-testing. [Show Less]