PYTHON Programming

In this page Python Programming we give the information about all points with notes of python programming.

Python Programming

1. INTRODUCTION TO PYTHON

Introduction to Python Installation, Spyder IDE, Python Interpreter

History Of Python, Python Features, Applications Of Python

Structure of Python Program, Identifiers and Keywords

Data Types, Types Of Operators, Type Conversion

Statements and expressions; Input/Output statements. Operators Precedence, Expressions, Statements.

Functions, Comment, Strings – Accessing Values In Strings.

Strings: Creating and Storing Strings, Built-in functions for strings; string operators, Stringslicing and joining; Formatting Strings. Updating Strings, Escape Characters, Built-In String Methods, User Input

CONTROL FLOW AND LOOPS:

Conditionals: Boolean Values And Operators, Conditional (If), Alternative (If-Else) ,Chained Conditional (If-Elif-Else)

Looping-While Loop, The Infinite Loop, For Loop, Iterating By Sequence Index, Using Else Statement With Loops, Nested Loops, Break, Continue & Pass Statement

2. FUNCTIONS:

Built-In Functions, Function Definition and call, Scope and Lifetime of Variables, Default Parameters, Command Line Arguments, Assert statement, Importing User defined module.

Function With Arguments, Lambda Functions

MUTABLE AND IMMUTABLE OBJECTS:

LISTS, TUPLES, DICTIONARIES AND SET

Lists-Create a List, Get and Set Items ,Add and Remove Items, List Slices, Different List Methods

TUPLES – Creation and Accessing Values, Updating Tuples, Deleting Tuple Elements

Basic Tuples Operations, Indexing, Slicing

DICTIONARY- Accessing Values in Dictionary, Updating Dictionary, Delete Dictionary Elements

Properties of Dictionary Keys, Built-In Dictionary Functions and Methods.

SETS -Concept of Sets, Creating, Initializing and Accessing the Elements, Sets Operation.

Difference between List, Tuple, Dictionary and Set in Python

Using Math and Numpy module for list of integers and arrays.

3. FILES:

Files: Types of Files; Creating, Reading and writing on Text and Binary Files.

Files I/O: Text Files, Reading And Writing Files Introduction To GUI In Python

The Pickle Module, Reading and Writing CSV Files. Reading and writing of csv and JSON files.

Exception Handling: Try-except-else-finally block, raise statement, hierarchy of exceptions, adding exceptions.

Data visualization: Plotting various 2D and 3D graphics; Histogram; Pi charts; Sine and cosine curves.

MODULES

The Import Statement, Modules (Datetime, Calendar, Math Module)

Some More:

Simple Python Programs

List, Tuple, Dictionary and Set Examples in Python

Python Programs for Practice