Python Made Simple
237 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Python Made Simple , livre ebook

-

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
237 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Take tiny steps to enter the big world of data science through this interesting guideKey features Acquire basic concepts related to python programming Understand the core functionalities of Python Programming Provide the information regarding idle IDE Computational Problem solving in Python Object oriented concepts in Python Database connectivity with Python Description In the last few years, python gained popularity and became the first choice of the students, teachers as well as professionals. It is being used in different fields such as education, software development, website development and also in various advanced research. In the field of education it allows students to learn the programming language in an easier and efficient manner. In the information technology field it can be used as a language for creating softwares as well as for web developments. It can be integrated with different platforms like Django. In research, Python programming can be used in simulation or it can be used for machine learning techniques.The primary goal of this text is to create a pedagogically sound and accessible textbook that emphasises on core concepts of Python programming. The book contains lots of practical examples to show the working of a particular code construct. The book can be very helpful in order to learn the basic and advance concepts of python programming.In the beginning of the book the focus is on the basic concepts related to core python programming starting from the installation phase of python interpreter to building the concepts for the reader towards python programming. Then the book moves towards the concept of different statements and programming conditions that python programming can handle in an easier manner. It then moves to the concepts related to object oriented programming and at last the reader will get to know about the database connectivity with the python program.What will you learn You can learn the core concept related to python programming You will get to learn how to program in python You can learn how Python programming helps to solve computational problems By reading this book you can learn how to work with python You will get familiarity with the python programming concepts. You will learn how to operate idle IDE and how it can be used to write python program in easier way. Who this book is forThe book is intended for anyone who wish to learn python programming language. This book also covers the syllabus of various universities and readers can use this book as a help in their academic education. This book can be used by readers to start with python programming from basics to advanced level even without having any prior knowledge of python programming. Table of contents1. Introduction to Python2. Python Fundamentals3. Expression and Operators4. Control Statements5. Functions6. List Processing7. Tuple Processing8. Dictionary Processing9. String Processing10. File Processing11. Exception Handling12. Object Oriented Programming13. Inheritance & Polymorphism14. Database Design in Python About the authorRydhm Beri teaches in BBK DAV College for Women, Amritsar, as an Assistant Professor, since last three years and has 5 years of experience in the field of education and 3 years of experience in research. Her research interests include MANETs, Cloud computing, IOT, Fog Computing. She has done M.Sc. Computer Science from BBK DAV College for Women, Amritsar and MCA from Lovely Professional University and is currently pursuing Ph.D. in the field of IOT and embedded systems. She has a deep knowledge of programming and has worked for different projects in languages like, .Net, Java, PHP and Python. Currently she is working on Python programming and relate it to IOT and Machine learning field.She has published 19 research papers out of which 17 are international and 2 are national research papers. She has also been working as a reviewer in conferences and journals. In her leisure time, she likes to attend workshops and conferences and likes to program applications.Her Blog links: https://rydhmberi.weebly.com/Her LinkedIn Profile: https://www.linkedin.com/in/rydhm-beri-47a721101/

Sujets

Informations

Publié par
Date de parution 20 septembre 2019
Nombre de lectures 1
EAN13 9789389328080
Langue English
Poids de l'ouvrage 1 Mo

Informations légales : prix de location à la page 0,0600€. Cette information est donnée uniquement à titre indicatif conformément à la législation en vigueur.

Extrait

PYTHON MADE SIMPLE
Learn Python programming in easy steps with examples
by Rydhm Beri
FIRST EDITION 2019
Copyright © BPB Publications, India
ISBN: 978-93-88511-025
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
Dedication
My Parents Shri Rajesh Beri and Smt. Suman Beri
About the Author
Rydhm Beri has been working as an Assistant Professor in BBK DAV College for Women, Amritsar for the last three years. She has five years of experience in the field of education and three years of experience in the field of research in different areas such as MANETs, Cloud computing, IOT, Fog Computing. She has done her M.Sc. in Computer Science from BBK DAV College for Women, Amritsar and MCA from Lovely Professional University. She is currently pursuing her Ph.D. in the field of IOT and embedded systems.
She has keen knowledge of programming and works for different projects in languages such as .Net, Java, PHP, and Python. Currently, she is working on Python programming that is related to IOT and machine learning field.
She has a keen interest in research papers and she has published 19 research papers. Out of which, 17 are international and 2 are national research papers. She has also worked as a reviewer in conferences and many reputed Scopus indexed journals. In her leisure time, she likes to attend workshops and conferences and likes to do programming to create different applications.
Acknowledgements
First and foremost, I would like to thank God for giving me the courage to write this book. I would like to thank everyone at BPB Publications for giving me this opportunity to publish my book.
I would also like to thank my loving and caring brother, Mr. Kartik Beri, and my mother for their endless support and helping me in numerous ways.
I would like to thank my teachers, Ms. Kiran Gupta, Mrs. Rajni Mehra, Mrs. Kamayani, all the other teachers, and my friends, Mrs. Manmeet Kaur, Ms. Veerawali Behal, Ms. Avneet Kaur for their useful discussions and suggestions, right from deciding topics, writing the concepts, framing exercises, etc.
Lastly, I would like to thank my critics. Without their criticism, I would never be able to write this book.
Rydhm Beri
Preface
In the last few years, Python has been very popular and has become the first choice of students, teachers as well as company officials. It is used in different fields such as education, software development, website development, and in research. In education, it helps students to learn the programming language in an easy and efficient manner. In the IT field, it can be used as a superb language for developing software as well as websites. It can also be integrated with different platforms like Django. In research, Python programming can be used in simulations or machine learning. It offers several benefits. The primary goal in the development of this book is to create a pedagogical sound and accessible book that emphasizes on the core concepts of Python programming. This book can be used to develop the Python concepts in an easy way. This book contains many examples to show the working of a particular code construct. This book is very helpful to learn the basic and advance concepts of Python programming. This book is divided into 14 chapters and it provides a detailed description of the core concepts of Python programming.
Chapter 1 introduces the concepts of Python. It describes how to solve computational problems using Python. It also explains the importance of using Python.
Chapter 2 addresses the fundamental concepts of Python. It describes the structure of the Python program and the tokens, identifiers, keywords, literals, variables and data types that can be used in Python programs.
Chapter 3 introduces the concept of different types of statements written in the Python program. It also focuses on the core concepts of the Python expressions and the different operators used in Python.
Chapter 4 addresses the different control statements used in the Python programming language. It describes the different categories of control statements and gives detailed information on how to use the control statements in Python programs.
Chapter 5 discusses the uses of functions in Python programs. It describes how the built-in functions can help write programs in Python. This chapter also focuses on the methods to create user-defined functions.
Chapter 6 addresses the concepts of list processing in Python. It introduces the concept of lists and discusses the various operations applied to the lists.
Chapter 7 describes the processing of tuples. It focuses on the concepts such as operations of tuples, functions and methods of tuples.
Chapter 8 describes the processing of dictionaries. It describes where a dictionary can be used and the different methods to use a dictionary. It focuses on concepts like operations, functions and methods of a dictionary.
Chapter 9 addresses the concepts of string processing. It discusses the methods to create and access the strings in Python. It describes the various operations applied to the strings and how to format the strings in a more efficient manner.
Chapter 10 introduces the concept of file processing in Python. It describes the different types of files that can be processed by Python programs. It also discusses the processing required to use the files in Python programs.
Chapter 11 focuses on handling the exceptions that occur in Python programs. It describes the situations in which the exceptions occur in Python programs and how to handle exceptions at run time.
Chapter 12 addresses the core concepts of object-oriented programming. It discusses the use of objects in Python and how to implement the OOPS concept in Python programming.
Chapter 13 continues with the discussion of the previous chapter and discusses the major features of OOPs, that is, inheritance and polymorphism. It describes how inheritance and polymorphism can be implemented in Python.
Chapter 14 discusses the database concepts. It discusses how to integrate the Python programs with the database. This chapter describes the integration of Python programs with the SQLite manager and the various operations that can be performed on the database.
Downloading the code bundle and colored images:
Please follow the link to download the Code Bundle and the Colored Images of the book:
https://rebrand.ly/xqg1xc
Errata
We take immense pride in our work at BPB Publications and follow best practices to ensure the accuracy of our content to provide with an indulging reading experience to our subscribers. Our readers are our mirrors, and we use their inputs to reflect and improve upon human errors if any, occurred during the publishing processes involved. To let us maintain the quality and help us reach out to any readers who might be having difficulties due to any unforeseen errors, please write to us at :
errata@bpbonline.com
Your support, suggestions and feedbacks are highly appreciated by the BPB Publications’ Family.
Table of Contents
1. Introduction to Python
Introduction
Structure
Objective
Relation between programming languages
Low-level versus high-level language
General-purpose language versus domain-specific language
Compiled languages verses interpreted languages
Computational problem solving
Process of solving computational problems
Problem solving
Understanding the problem
Specification
Program design
Program coding and implementation
Program testing
Introduction to Python
Comparison of Python with other languages
History of the Python programming language
Development stages of Python
Features of Python
Execution of a Python program
Memory management in Python
Garbage collection in Python
Automatic garbage collection of cycles
Manual garbage collection
Debugging
2. Python Fundamentals
Introduction
Structure
Objective
Structure of a Python program
Tokens
Identifiers
Keywords
Literals
Numeric literals
Integer literals
Floating point literal
String literal
Boolean literal
Special literals
Objects immutability
Variables
Assigning values to the variable
Determining the data type of the variable
Data type in Python
Basic data types
int data type
Long integers
Boolean data type
Float data type
Complex data type
Sequence data type
Conclusion
Questions
3. Expressions and Operators
Introduction
Objective:
Statements
Simple statements
Control statements
Expressions
Operators
Arithmetic operators
Relational operators
Logical operators
Bitwise operators
Assignment operators
Unary operators
Membership operators
Ident

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents