Description
This book on PYTHON emphasizes on programming skills required to solve real-world problems. The book starts with a chapter on introduction to Python with features of python, variables, data types, operators and expressions. The next chapter addresses decision making statements, control structure and functions. These topics’ gives the reader the ability to choose a particular block of code for execution and helps the user to specify the control flow. This is followed by a chapter on strings and lists in python. The reader gets to know the string operators and string functions available in python with easy examples. The practical examples on list operators and built-in functions give the reader an elaborate knowledge on the topic. The following chapter has very good examples and explanation for tuples and dictionaries in python. The last chapter of the book has coverage on files and exception handling, which provides the complete working on files, directory, built-in exceptions and user-defined exceptions. Overall this book will be a handy tool for all beginners.
Table of Contents
Chapter 1 Introduction to Python
1.1 Features of Python
1.2 Installing and Running Python
1.3 Interpreter and Interactive Mode
1.4 Identifiers
1.5 Reserved Keywords
1.6 Variables
1.7 Comments in Python
1.7.1 Types of Comments in Python
1.8 Data Types
1.8.1 Numeric
1.8.2 String
1.8.3 List
1.8.4 Sets
1.8.5 Tuple
1.8.6 Dictionary
1.8.7 Boolean
1.9 Operators
1.9.1 Arithmetic Operators
1.9.2 Relational Operators
1.9.3 Assignment Operators
1.9.4 Logical Operators
1.9.5 Bitwise Operators
1.9.6 Membership Operators
1.9.7 Identity Operators
1.10 Statements and Expression in Python
1.10.1 Multi-Line Statements
1.10.2 Expressions
1.11 String Operations
1.12 Boolean Expressions
1.12.1 Comparison Operators
1.12.2 Logical Operators
1.13 Data Type Conversion
1.13.1 Implicit Type Conversion
1.13.2 Explicit Type Conversion
1.14 Input Function
1.15 Raw Input Function
1.16 Difference between Input and Raw Input Function
1.17 Mutable and Immutable Objects
1.17.1 Mutable Objects
1.17.2 Immutable Objects
1.18 Illustrative Programs
Chapter 2 Decision Making, Control Structure and
Functions
2.1 Decision Making
2.1.1 If Statements
2.1.2 If Else Statements
2.1.3 Elif Statements
2.2 Control Statements
2.2.1 For Loop
2.2.2 Range( ) Function
2.2.3 While Loop
2.2.4 Break Statement
2.2.5 Pass Statements
2.3 Built-in Functions
2.3.1 Built-in Math Functions
2.3.2 Date and Time
2.4 How to Create a Function?
2.4.1 dir()Function
2.4.2 Help()Function
2.5 User Defined Functions
2.5.1 Parameterized Function
2.5.2 Default Arguments
2.5.3 Keyword Arguments
2.5.4 Variable Length Arguments
2.5.5 Function with Return Value
2.5.6 Parameters and Arguments
2.5.7 Function Composition
2.6 Recursion
Chapter 3 Strings and Lists
3.1 Strings -Strings in Python
3.1.1 String Functions
3.1.2 String Slicing
3.1.3 Immutable Property
3.1.4 String Traversal
3.1.5 Escape Character
3.1.6 String Formatting
3.1.7 String Template Class
3.2 List
3.2.1 Creation of List
3.2.2 Accessing Elements from the List
3.2.3 Mutable Property
3.2.4 Traversing a List
3.2.5 List Operations
3.2.6 List Methods
3.2.7 Deleting Elements
3.2.8 List Aliasing
3.2.9 List Arguments
Chapter 4 Tuples and Dictionaries
4.1 Tuples
4.1.1 Creating a Tuple
4.1.2 Accessing Values
4.1.3 Immutable Property
4.1.4 Assingment of Tuples
4.1.5 Returning Tuples
4.1.6 Tuples or Argument
4.1.7 Build-in Tuple Function
4.2 Dictionaries
4.2.1 Creating a Dictionary
4.2.2 Accessing Values
4.2.3 Updating Dictionary
4.2.4 Deleting Elements from Dictionary
4.2.5 Dictionary Keys Properties
4.2.6 Operation in Dictionary
4.2.7 Built-in Dictionary Method
4.2.8 Illustrative Programs
Chapter 5 Files and Exception Handling
5.1 Files
5.1.1 Opening a File
5.1.2 Closing a File
5.1.3 Reading and Writing a File
5.1.4 File Object Attributes
5.1.5 File Positions
5.1.6 Renaming a File
5.1.7 Files Related Methods
5.1.8 Directory
5.2 Exceptions
5.2.1 Built-in Exceptions
5.2.2 Handling Exceptions
5.2.3 Try and Except Statements
5.2.4 Finally Statement
5.2.5 Illustrutive Programs
About the Authors
Kathiresan is Head-In-Charge, Department of Information Technology,PSG Polytechnic College Coimbatore. His areas of specialisation include Big Data, Multimedia, Cloud Computing and Web technology.
Haritha Deepthi is Lecturer, Department of Information Technology, PSG Polytechnic College Coimbatore. Her areas of specialisation include Cyber Security, Information Security, RDBMS, Operating Systems and Multimedia.
Jacquline Dorothy is Lecturer, Department of Maths and Computer Application at PSG Polytechnic College Coimbatore. Her areas of specialisation include DBMS, Data Structures and Data Mining.
Lakshmanan is Lecturer, Department of Information Technology, PSG Polytechnic College Coimbatore. His areas of specialisation include Operating Sytems, Component Based Technology and Multimedia.
Hortense –
Hi, after reading this amazing article i am as well delighted to share my know-how here with mates.
Also visit my web site – aankoop azelastine in Nederland
Linnie –
I am extremely impressed with your writing skills and also with the layout on your blog.
Is this a paid theme or did you modify it yourself?
Anyway keep up the excellent quality writing, it is rare to see
a nice blog like this one today.
Here is my blog post – prodroxy gemakkelijk kopen in België
Shanel –
Hi to all, how is the whole thing, I think every one is getting more from this site, and your
views are fastidious Preis von amen in einer Apotheke in Deutschland support of new people.
Juliana –
I was suggested this website by my cousin. I am not sure whether this post is written by him as nobody else know
such detailed about my difficulty. You are incredible! Thanks!
Review my web site: alavert enviado discretamente a Colombia
Todd –
Way cool! Some extremely valid points! I appreciate you writing this post and the rest of the site is also really good.
My blog :: puedo comprar endep sin receta en Medellín
Ernie –
Spot on with this write-up, I actually believe this site needs a lot more
attention. I’ll probably be returning to read more,
thanks for the information!
Look into my page: Jay
Brent –
Appreciate this post. Let me try it out.
Also visit my blog post; acheter desloratadine en Belgique sans problème
Stacy –
I will immediately seize your rss as I can not in finding
your email subscription link or newsletter service.
Do you’ve any? Kindly allow me understand in order that I may subscribe.
Thanks.
Here is my web page; paroxetine en venta en Guayaquil
Vickie –
I am no longer positive the place you are getting your info,
however great topic. I must spend a while studying much more or working out more.
Thanks for excellent information I was searching for this
info for my mission.
Here is my homepage – Se puede adquirir fludrocortisone en Brasil
Magda –
Howdy! This post couldn’t be written any better! Going through this post reminds me of my
previous roommate! He constantly kept preaching about this.
I will send this information to him. Fairly certain he’s going to have a very good read.
Many thanks for sharing!
Here is my homepage :: Samuel
Leonora –
You actually make it seem so easy with your presentation but I find this topic to be really something which I
think I would never understand. It seems too complex and very broad for me.
I’m looking forward for your next post, I’ll try to get the
hang of it!
My webpage – chibroxine rezeptfrei erhältlich in bestimmten Ländern
Roderick –
Hi there, I enjoy reading all of your post. I like to
write a little comment to support you.
my website :: rabeprazole bez niepożądanych skutków ubocznych w Wrocławiu
Angelita –
constantly i used to read smaller articles or reviews which also clear
their motive, and that is also happening with this post which
I am reading here.
Feel free to surf to my web page – cefuroxime in Deutschland erhältlich
Laurie –
With havin so much content and articles do you ever run into any issues
of plagorism or copyright violation? My blog has a lot of completely unique content I’ve either authored myself or outsourced
but it looks like a lot of it is popping it up all over the web without my authorization.
Do you know any ways to help protect against content from being stolen? I’d
truly appreciate it.
my blog post apo-oxybutynin ohne ärztliche Verschreibung in der Apotheke in Belgien erhältlich
Joshua –
Hello there, I found your blog by the use of Google even as searching for a comparable topic, your web site came up, it seems good.
I have bookmarked it in my google bookmarks.
Hello there, simply become alert to your blog through Google,
and located that it is really informative. I’m gonna be careful for
brussels. I’ll appreciate in the event you continue this in future.
Lots of folks will likely be benefited out of your writing.
Cheers!
Review my page – comprar duracef en España sin receta
Arlen –
Hurrah! Finally I got a blog from where I be capable of actually obtain valuable information regarding my study and knowledge.
My site :: Joann
Hildred –
Great information. Lucky me I recently found your blog by accident (stumbleupon).
I’ve bookmarked it for later!
Here is my website – indication de vente de pamelor 25 mg au Maroc
Chong –
I’ve been browsing online greater than three hours today, yet I by no means found any fascinating article like yours.
It is pretty value enough for me. In my view, if all website owners and bloggers made
excellent content material as you did, the internet will likely be a lot
more helpful than ever before.
my page :: Online-Apotheke in Spanien verkauft Medikamente
Sheryl –
I am really thankful to the owner of this site who has shared
this impressive article at at this place.
Also visit my web site koop avana slaapmiddelen
Antje –
A motivating discussion is definitely worth comment. There’s no
doubt that that you ought to write more on this topic, it might not be a
taboo matter but typically people don’t speak about such topics.
To the next! Kind regards!!
Take a look at my homepage – heptovir zonder recept in Utrecht
Robin –
I would like to thank you for the efforts you have put in writing this site.
I really hope to see the same high-grade blog posts by you in the future
as well. In truth, your creative writing abilities has inspired me to get my very own website now 😉
Also visit my site: Bestellung von cefixime 200 mg in Salzburg
Josh –
Excellent article. I will be going through many of these issues as
well..
my blog levofloxacine w sprzedaży online w Krakowie
Valerie –
Excellent post! We are linking to this great article on our site.
Keep up the good writing.
My homepage; ordenar antivert en Buenos Aires
Adrienne –
Woah! I’m really enjoying the template/theme of this website.
It’s simple, yet effective. A lot of times it’s tough
to get that “perfect balance” between superb usability and visual appeal.
I must say that you’ve done a amazing job with this. In addition,
the blog loads super quick for me on Internet
explorer. Superb Blog!
My blog post – Encuentra una farmacia que venda benzoyl peroxide
Jada –
If you wish for to obtain much from this post then you have to apply such strategies
to your won weblog.
Also visit my web blog raadpleeg een arts om een recept voor Ibu te krijgen in Nederland