Python Study Material
Python Study Material
Python Study Material
Agenda
Why Python? Installing
What is Python? Basic and String operations
Basic Programming
History Control flow: if
Features Loops: break, continue, else
Lists, Tuples, Dictionaries
Uses Modules
Comparison to Other Classes & Notes on classes
Technologies Inheritance
Structure of Python Programming Outcome of Python Learning
Why Python ?
• Designed to be easy to learn.
• Clean & Clear syntax.
• Very few key & few keywords.
• Not hard to read, write and maintain
• Power & Rapid Development
• Increases productivity.
• Finally, it is Platform Independent.
What is Python ?
• It is an Interpreted Language.
• Object-oriented & high-level programming language
• It is dynamic typing and dynamic binding, make it very attractive for
Rapid Application Development.
• It is Syntax free Language.
History
Class definitions
Class ClassName:
<statement-1>
...
<statement-N>
• must be executed
• can be executed conditionally
creates new namespace
Notes on classes
• Data attributes override method attributes with the same name
• no real hiding not usable to implement pure abstract data types
• clients (users) of an object can add data attributes
• first argument of method usually called self
• Self is a default object receiver.
Inheritance
class DerivedClassName(BaseClassName)
<statement-1>
...
<statement-N>
• search class attribute, descending chain of base classes
• may override methods in the base class
• call directly via BaseClassName.method
Multiple Inheritance
class DerivedClass(Base1,Base2,Base3):
<statement>
• depth-first, left-to-right
• problem: class derived from two classes with a common base class
Outcome of Python Learning
1. Python Developer
Becoming a Python developer is the most direct job out there for someone who knows the Python
programming language.
A Python developer can be expected to:
Build websites and Optimize data algorithms A wide array of companies are looking for
Solve data analytics problems Python developers. Learn Python today, and
Implementing security and data protection tomorrow you could end up as a Python
developer working at a startup or larger
Writing reusable, testable and efficient code company
Outcome of Python Learning
2. Product Manager
Product managers are responsible for researching new user features,
find gaps in the market, and make an argument for why certain
products should be built.
Data plays a huge role in their work, so many companies are now
seeking product managers who know Python.
Outcome of Python Learning
3. Data Analyst
Does the idea of finding meaning in large amounts of information
appeal to you?
Many companies are looking for someone who can sift through large
sets of data — and a popular way to accomplish that is using Python
libraries such as SciPy and Pandas.
Outcome of Python Learning
4. Machine learning engineer:
This position have increased by more than 330% in the last couple of
years. If you are skilled in python, you will be given preference over
other candidates.
A machine learning engineer builds and trains machines, programs,
and other computer-based systems to apply their learned knowledge
for making predictions. Python’s ability to work with data automation
and algorithms makes it the ideal programming language that can be
used in machine learning.
Outcome of Python Learning
5. Others
Web Testing
Data Science
AI
Web Scripter
Quality Assurance Engineer
GIS Analyst
Data Scientist