Learning a programming language to become a full-stack developer is essential for backend coding, and we will know Python for that. This section of the Python curriculum will give you a brief knowledge of the language and its difference from R, where you can implement these concepts, an understanding of Python IDEs, and the process of downloading and setting up the Python environment.
Introduction to Programming
R or Python?
Different job roles with Python
Different Python IDEs
Downloading and setting up the Python environment
After setting up the Python environment on PCs or MACs, you need to understand how to code. This section covers the concepts of different input and output operations, variables, basic data types, and typecasting. Every variable you use in the programming is used to store data of varied types, and each of them performs different functions. You will learn each of these data types used in Python and how to cast them from one type to another.
Python input and output operations
Comments
Variables, rules for naming variables
Basic data types in Python
Typecasting in Python
Learning operators in Python helps you instruct the machine to performoperations like additions, comparisons, etc., on variables and values. EachPython Full Stack (FLASK) 2operator in Python performs different operations, and you will learn them indepth from this section.
Arithmetic operators
Assignment operators
Comparison operators
Logical operators
Identity operators
Membership operators
Bitwise operators
Python Strings comprises a collection of alphabets, words or characters surrounded by single or double quotes. Here, you will learn how to create strings in Python, understand indexing and string slicing, and string formatting.
Creating strings
String formatting
Indexing
Slicing
Tuples are built-in Python data types that are used to store collections of data in a single variable. Tuple elements are written within rounded brackets that maintain order, are unchangeable, and allow duplicate values. In this part of the module, you will learn the basic concepts of tuples, including their syntax, properties, indexing and slicing, and tuple methods.
Syntax to create tuples
Tuple properties
Indexing on tuples
Slicing on tuples
Tuple methods
Another popular Python built-in data type is Lists that can store multiple items in one variable like Tuples, but are written within square brackets. These items follow an order, are changeable, and allow duplicate values. You will learn how to create a list, perform various functions like adding and removing items from lists, indexing and slicing, and gain knowledge of list methods and creating lists of lists.
Creating lists
Properties of lists
List indexing
List slicing
List of lists
List methods
Adding, updating, & removing elements from lists
Sets, like tuples and lists, store multiple items in a single variable and are written within curly brackets. Set items are unordered; you cannot make changes to a set once created and are unindexed. This section of the course will teach you the syntax for creating sets, performing different operations and set methods, and how to update sets. By the end of the module, you will learn the difference between sets, tuples, and lists.
The syntax for creating sets
Updating sets
Set operations and methods
Difference between sets, lists, and tuples
This is the last category of built-in data types in Python that stores values in key : value pairs and are written within curly brackets. Dictionary items maintain an order, do not allow duplicate values, and you can make changes to the dictionary. You will learn the syntax for creating dictionaries, how to store and access data, and how to know dictionary methods.
The syntax for creating dictionaries
Storing data in dictionaries
Dictionaries keys and values
Accessing the elements of directories
Dictionary methods
While creating Python programs, you need to put some conditions in place and perform a function when the condition is met. You will learn how to set a logic with conditional statements and use if, if-else, and if-elif-else statements to execute different conditions.
Setting logic with conditional statements
If statements
If-else statements
If-elif-else statements
Loops in Python are similar to conditional statements, where you can execute repeated statements until a specific condition is met. Python uses mainly while and for loops, which you will learn from this section, along with the use of break, continue, and pass statements.
Iterating with Python loops
While loop
For loop
Range
Break
Continue
Pass
Enumerate
Assert
Our trainers will assist you in solving HackerRank quizzes and assignments so that you can easily crack exams and win bronze and silver-level badges. Hackerrank certificates will help you land good jobs globally.
Solving level by level challenges
Assignments to acquire bronze and silver level badges
This part of the course discusses list and dictionaries compression that helps you produce simple and easy-to-understand codes, but only when you use them properly. You will learn the syntax of list comprehension and dict comprehension effectively in a Python program.
Why List comprehension
The syntax for list comprehension
The syntax for dict comprehension
Functions in a Python program are collections or blocks of code that are executed only when you call them and return data as a result. You will learn about functions, how to create and call functions, pass arguments, and various other concepts essential for programming.
What are functions
Modularity and code reusability
Creating functions
Calling functions
Positional arguments
Keyword arguments
Variable-length arguments (*args)
Variable keyword length arguments (**kargs)
Return keyword in Python
Passing function as an argument
Passing function in return
Global and local variables
Anonymous function doesn’t have names and can be invoked immediately or stored in a variable. These functions are known as Lambda functions, and you will learn about them in depth during this part of the course.
Lambda
Lambda with filter
Lambda with map
Lambda with reduce
Generators allow you to declare a function that acts like an iterator. This part of the course will teach you how to create and use generators in Python programming.
Creating and using generators
Modules are like code libraries that contain Python definitions and statements. You will learn how to create modules, import functions or variables from other modules, and learn various in-built Python modules.
Creating modules
Importing functions from a different module
Importing variables from different modules
Python built-in modules
Your Python programs can encounter multiple errors during execution that restrict proper execution or generate an error message. Therefore, you must understand how to handle errors and exceptions. This section will teach you Python Full Stack (FLASK) 7different types of errors and the process of handling them using try, except andblock, along with handling syntax and logical errors.
Syntax errors
Logical errors
Handling errors using try, except and finally
Classes and Objects (OOPs) Python programming is object-oriented, and therefore, you need to know about objects and how to create them. This segment covers the core of objectoriented programming in Python, from encapsulation to inheritance, abstractclasses, understanding of different methods, overriding, using the super()function, and operator overloading.
Creating classes & objects
Attributes and methods
Understanding_init_constructor method
Class and instance attributes
Different types of methods
Instance methods
Class methods
Static methods
Inheritance
Creating child and parent class
Overriding parent methods
The super() function
Understanding types of inheritance
Single inheritance
Multiple inheritance
Multilevel inheritance
Polymorphism
Operator overloading
Python files containing different functions are stored in modules, and these modules make up Python packages. This segment will teach you how to create packages and import modules from the package, as well as understand different ways of importing modules and packages.
Creating packages
Importing modules from the package
Different ways of importing modules and packages
Date and Time are Python modules that instruct Python classes to work with date and time. You will learn multiple time and date-related modules like time delta, strftime(), strptime(), and knowledge of how to format date and time,more.
Date module
Time module
Datetime module
Time delta
Formatting date and time
strftime()
strptime()
Regex (Regular Expression) is a highly specialised programming language available through the “re” module of Python. You will learn different module functions that are mostly used in coding.
Understanding the use of regex
re.compile()
re.find()
re.split()
re.sub()
Meta characters and their use
A file is a named location used in Python Programming to store data. In this part of the course, you learn how to open different types of files in different modes and perform operations on them including reading, writing and closing files
Opening file
Opening different file types
Read, write, close files
Opening files in different modes
Web applications and software often need to store and retrieve data, which means you need to learn database systems. Here, you will learn about MySQL database, its operators, string functions, working with MySQL workbench, MySQL joins, and more.
Introduction to Database
SQL Sublanguages
MySQL Operators
Comparison Operators
DDL:Alter and Rename
Constraints
Refining Selections and Working with MySQL workbench
Working with Aggregate functions and SQL Files
More on Data types
MySQL Joins
There are multiple Python frameworks that help you build robust and scalable web applications, but Flask is suitable for beginners. You will learn how to install the flask package and its components, and you will also be introduced to the need for a virtual environment for project development.
Introduction to flask and its architecture
Installing flask package and introduction to its components
Introduction to Virtual Environment and its importance in project development
Creating Virtual Environment and activating, deactivating it
Introduction to routing in Flask and Building sample flask application
This section of the course teaches you about dynamic routes and how to build them with Flask. You will learn multiple other concepts to create dynamic web applications and handle different requests and response methods in Flask.
What is a dynamic route?
Building dynamic routes with flask
Redirection in Flask
Dynamic URL building with url_for function
URL converters in Flask
int and string url converters
request and response in Flask
To develop the front end of your application, you need to learn HTML. This section of the course will cover the basic concepts of HTML, including building a basic web page structure, formatting page content, creating lists and links, and controlling styling.
Introduction
Basic page structure
Formatting page content
Creating lists
Structuring content
Creating links
Controlling styling
Controlling styling
Besides HTML, you need CSS to make your site visually appealing and provide a user-friendly interface. CSS3 is the updated version of CSS, which has separate modules for specific styling and layouts. Besides learning the core of CSS, you will learn how to handle HTML requests using Flask, which is one of the popular Python frameworks, and the use of Jinja 2 and Flask in developing dynamic web pages.
Getting Started
CSS Core
Flask Request Handling
Jinja 2 Template Engine
Dynamic Web Pages with flask-Jinja2
This section of CSS comprises a few basic concepts required for styling your web application, including typography, layouts, file handling with flask, and so on
Typography
Layouts
Login system with flask, Server side sessions
CSS
Files handling with Flask
Advanced layout
Fully functional E-Commerce application