• 01:44:35 Hours On demand videos
  • 25 Lessons
  • Full lifetime access
  • Access on mobile and tv

Python tutorial for advanced

The goal of this course is to get you started with the Python programming language. Python is a great and easy language to learn.

Beginner 0(0 Ratings) 2 Students enrolled
Created by Gautam Devaraj Last updated Fri, 18-Sep-2020 English
What will i learn?
  • Efficiently Program in Python
  • Will get ready to learn advanced python programming concepts
  • Understand Basic Python Programming Language
  • Learn fundamental Pythons concepts.

Curriculum for this course
25 Lessons 01:44:35 Hours
Introduction to Python Programming
4 Lessons 00:21:50 Hours
  • Introduction about Python Programming language 00:14:22
  • Install Python Package 00:01:56
  • Numbers and Math in Python 00:02:07
  • Variables in Python 00:03:25
  • What is Modules and Functions in Python 00:03:07
  • Saving Python Script into a File 00:03:58
  • Modules and Function Libraries
  • What is Strings in Python ? 00:03:58
  • Strings in Python part 2 (Various Scenarios) 00:01:53
  • What is Sequences and Lists in Python 00:02:50
  • Slicing or Grouping in Python 00:02:48
  • What is Sequences & Basic Searching in Python. ? 00:02:54
  • More Operations on Sequences and Lists 00:03:36
  • More operations on Slicing over Lists 00:03:35
  • Introduction to Methods in python 00:04:15
  • If and Else Statement 00:05:18
  • Nested if Statement 00:04:24
  • While and For Loops in Python 00:04:54
  • Infinite Loop in Python 00:03:10
  • User Defined Functions in Python 00:07:10
  • Function Parameters in Python 00:05:02
  • Class, Objects & Methods 00:05:45
  • Extended Classes and Methods 00:03:12
  • Reading & Writing into File 00:03:32
  • More Operations on File 00:07:24
  • Nothing at all, This course guides you from scratch.
+ View more

The main purpose of this tutorial is to get you started with the Python programming language. Python is a great and simply to learn. It is great language for those who are new learner to programming. After doing this tutorial, You can create scripts, websites, games, or desktop applications in Python. In this tutorial , we will explain  python programming language , we will consider on these topics :

  • What is python programming language ?
  • Why Python is important in this ERA ?
  • How to become a best python developer. ?
  • You will learn from basic level to advance level .
  • What is python programming Language . ?

Python is high level general purpose , Interpreted , interactive and object oriented programming language.It was developed by Guido Van Rossum. It is also known as dynamic and easy to use because its allows the programmer's to rich in style and it is very popular scripting language and used by big organization like google , NASA , CIA , Disney etc. The design purpose of the Python language emphasizes programmer productivity and code readability.

Why important Python Programming language ?

Python is must for beginners aspirants and working professionals engineers to became a best software developer and if you are in web domain then it is great achievement of you in this ERA.

  • Phyton is processed dynamically. we don't need to compile program before executing it.
  • Python is similar like PHP and Perl.
  • It also support object oriented style or technique of programming that encapsulates code within objects.
  • Python supports structured programming method as well as OOP.
  • Python can be used as scripting language.
  • Python provides high-level runtime data types and supports runtime type checking.
  • It is very easy to integrated with C , C++, JAVA.

Features of Python

  • Easy to Learn
  • Easy to Read
  • Easy to Maintain
  • Portable
  • Extendable
  • Scalable

High-level language : A programming language like Python that is designed to be easy for humans to read and write.

Interactive mode :A way of using the Python interpreter by typing commands and expressions at the prompt.

Interpret :To execute a program in a high-level language by translating it one line at a time. low-level language : A programming language that is designed to be easy for a computer to execute; also called “machine code” or “assembly language”.

Parse : To examine a program and analyze the syntactic structure.

Portability  : A property of a program that can run on more than one type of computer.

Print function : An instruction that causes the Python interpreter to display a value on the console screen.

Problem solving : The process of contructing a problem, searching a solution, and expressing the solution.

Program : A sets of instructions that identify a computation.

Prompt : Whenever program show a message and pause for the user to type some input to the program.

Machine code : The lowest level programming language for software, which language that is directly executed by the central processing unit (CPU).

Main Memory : Accumulate programs and data. Main memory loses its data when the power is turned off.

Secondary memory : Accumulate programs and data and retains its information even when the power is turn off. Generally slower than main memory. Examples of Physical memory include disk drives and flash memory in USB sticks.

Semantics : The meaning of a program. semantic error An error in a program that makes it do something other than what the programmer intended.

Source code : A program in a high-level language.

Variables, Expressions, and Statements in python.

Variables and its type :

A variable is a name that refers to a value The values we have seen so far are 1, 2, and “Hello, World!”. These values belong to different types: 5 is an integer, and “Hello, India!” is a string, so it is called because it contains a “string” of letters.

Expressions :

An expression is a combination of values, variables, and operators. A value all by itself is examine an expression, and  It is a variable, so the following are all legal expressions (assuming that the variable x has been assigned a value):

19 , x

x + 19


A statement is a unit of code that the Python interpreter can execute. We have seen two type of statements: print being an expression statement and assignment. When you type a statement in interactive mode, the interpreter executes it and displays the result, if there is one.

Conditional execution in Python

  • Boolean expression : An expression whose value is either True or False.
  • Logical operators : There are three logical operators: and, or, and not.
  • Conditional statements : The boolean expression in a conditional statement that determines which branch is executed.
  • Alternative execution : A second form of the if statement is alternative execution, in which there are two possibilities and the condition determines which one gets executed.
  • Chained conditionals : A conditional statement with a series of alternative branches.
  • Nested conditionals : l A conditional statement that appears in one of the branches of another conditional statement.
  • Catching exceptions using try and except : The try block lets you test a block of code for errors. The except block lets you handle the error. The finally block lets you execute code, regardless of the result of the try- and except blocks.
  • Short-circuit evaluation of logical expressions  : When Python is part-way through evaluating a logical expression and stops the evaluation because Python knows the final value for the expression without needing to evaluate the rest of the expression.

Functions in Python

A statement that creates a new function, specifying its name, parameters, and the statements it executes. "A named sequence of statements that performs some useful operation. Functions may or may not take arguments and may or may not produce a result."

When you define a function, you specify the name and the sequence of statements. Later, you can “call” the function by name. We have define in following one example of a function call :

>>> type(32)

Built-in functions :

Python provides a number of important built-in functions that we can use without needing to provide the function definition. The creators of Python wrote a set of functions to solve common problems and included them in Python for us to use.

Type conversion functions  :

Python also provides built-in functions that convert values from one type to another. The int function takes any value and converts it to an integer,

Math functions :

Python has a math module that provides most of the familiar mathematical functions. Before we can use the module, we have to import it:

>>> import math

Function call  : A statement that executes a function. It consists of the function name followed by an argument list.

Function object  : A value created by a function definition. The name of the function is a variable that refers to a function object.

Function Parameter  :  A name used inside a function to refer to the value passed as an argument.

Iteration in Python :

Repeated execution of a set of statements using either a function that calls itself or a loop.

Strings in Python :

A string is a sequence of characters. You can access the characters one at a time with the bracket operator:

>>> fruit = 'banana' >>> letter = fruit[1]

Files in Python :

File handling is an important part of any web application.

Python has several functions for creating, reading, updating, and deleting files.

The key function for working with files in Python is the open() function.

"r" - Read -  Open file for reading

"a" - Append - Opens a file for appending,

"w" - Write - Opens a file for writing,

"x" - Create - Creates the specified file

Lists in Python :

Like a string, A sequence of values is called List. In a string, the values are characters; in a list, they can be any type. The values in list are called elements or sometimes items.

There are several ways to create a new list; the simplest is to enclose the elements in square brackets(“[" and “]”):

[10, 20, 30, 40]

['crunchy frog', 'ram bladder', 'lark vomit']

Dictionaries in Python :

A mapping from a set of keys to their corresponding values.  In a list, the index positions have to be integers; in a dictionary, the indices can be (almost) any type. You can think of a dictionary as a mapping between a set of indices (which are called keys) and a set of values. Each key maps to a value. The association of a key and a value is called a key-value pair or sometimes an item. As an example, we’ll build a dictionary that maps from English to Spanish words, so the keys and the values are all strings. The function dict creates a new dictionary with no items. Because dict is the name of a built-in function, you should avoid using it as a variable name.

>> eng2sp = dict()

>> print(eng2sp) {}

Tuples in Python :

A tuple1 is a sequence of values much like a list. The values stored in a tuple can be any type, and they are indexed by integers. The important difference is that tuples are immutable. Tuples are also comparable and hashable so we can sort lists of them and use tuples as key values in Python dictionaries. Syntactically, a tuple is a comma-separated list of values:

>>> t = 'a', 'b', 'c', 'd', 'e'

Sets in Python :

A set is a collection which is unordered and unindexed. In Python sets are written with curly brackets. Like as : 

thisset = {"apple", "banana", "cherry"}

Regular expressions in Python :

A language for expressing more complex search strings. A regular expression may contain special characters that indicate that a search only matches at the beginning or end of a line or many other similar capabilities.

+ View more
Other related courses
About the instructor
  • 0 Reviews
  • 2 Students
  • 1 Courses
+ View more
Student feedback
Average rating
  • 0%
  • 0%
  • 0%
  • 0%
  • 0%
  • 01:44:35 Hours On demand videos
  • 25 Lessons
  • Full lifetime access
  • Access on mobile and tv