0% found this document useful (0 votes)
22 views

Class 1

Uploaded by

abhivrat pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Class 1

Uploaded by

abhivrat pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Created by :-

Nikhil Pandey
WHAT WE GIVE YOU?

• What is Python?
• Difference between programming and scripting language?
• History of python
• Scope of Python
• Features of python
• Uses of python
• Why do people use python
• Installing Python IDE
USSES OF PYHTON

• web development
• gaming Data visulization
• cyber security/hacking
• tool designing
• software
• iot
• cryptocurrency
• app development
• ML,AI,DL
• animation
WHAT IS PYTHON
• Python is a high-level, general-purpose and a very popular programming
language.
• It support interpreted and object-oriented scripting language.
• Python is Interpreted − Python is processed at runtime by the interpreter.
You do not need to compile your program before executing it.
• Python is Object-Oriented − Python supports Object-Oriented style or
technique of programming that encapsulates code within objects.
• Python is a Beginner's Language − Python is a great language for the
beginner-level programmers
DIFFERENCE BETWEEN PROGRAMMING AND
SCRIPTING LANGUAGE
Programming Scripting
A program is executed (the code is A script is interpreted(A script is a
first compiled and generate the code written in Scripting language ).
output).
It is a type of programming language
A program is general is a sequence of in which you can write code to control
instructions written so that a another software application.
computer can perform certain task
HISTORY

• Invented in the Netherlands, early 90s by Guido van Rossum


• Named after Monty Python
• Open sourced from the beginning
• Considered a scripting language
• Used by Google Youtube from the beginning
• Increasingly popular
SCOPE
• Is Python a good career?
Being a Python developer is a good career choice. Python
growth is promising in future. Top companies stuck with java, python
trending technologies now and also in future
• Just see below the number of companies using Python:-
FEATURE OF PYTHON

• Easy-to-learn
• Easy-to-read
• Easy-to-maintain
• Portable
• Databases
• Interactive Mode − Python has support for an interactive mode which allows
interactive testing and debugging of snippets of code.
• GUI Programming − Python supports GUI applications to create Software.
• Scalable − Python provides a better structure and support for large programs
than shell scripting.
USES OF PYTHON

•Machine Learning
•GUI Applications (like Kivy, Tkinter, PyQt etc. )
•Web frameworks like Django (used by YouTube, Instagram, Dropbox)
•Web scraping (like Scrapy, BeautifulSoup, Selenium)
•Test frameworks
•Multimedia
•Scientific computing
•Robotics
•To write driver code(program).
INSTALLING PYTHON

• Python is pre-installed on most of Unix/ Linux as well as Mac OS X.


• Now for windows:-
Go To GOOGLE.com >> Search “python Download”.

Click
on it
INSTALLING PYTHON

Click on
Download &
install
AFTER INSTALLATION

Interactive mode Script mode


INTERACTIVE MODE

• Math(Operators) in idle[IDLE :- Integrated Development and Learning


Environment.]
CHAPTER 1 (PRINT & ESCAPE SEQUENCE)
ESCAPE SEQUENCE

• An Escape character is denoted by (\)


• Use:- To insert the character which is not defined syntax
• List of escape character (mostly use..)
• To print quote:- \’,\’’
• To print next line :- \n
• To print space(tab):- \t
• To print backslash:- \\(for single),\\\\(for double).
ESCAPE SEQUENCE (PROGRAM)

To print quote:- \’,\’’


ESCAPE SEQUENCE (PROGRAM)

To print next line :- \n


ESCAPE SEQUENCE (PROGRAM)

To print tab :- \t
ESCAPE SEQUENCE (PROGRAM)

To print next line :- \\(for single),


\\\\(for double).
TASK
• 1) print your name and introduction yourself
• 2) try this:- output like this
• I’m New here
• “This is first class”
• Hii
hello
how are you?

Hint::- ("\“……….\"")
d . . .
e En
T h

NEXT TOPIC :- DATA TYPES,INPUT,OPERATIONS

You might also like