Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Nupur Jain. It is widely used general purpose, high level programming language. Developed by “Guido van Rossum in 1991”. It is used for: software development,

Similar presentations


Presentation on theme: "By Nupur Jain. It is widely used general purpose, high level programming language. Developed by “Guido van Rossum in 1991”. It is used for: software development,"— Presentation transcript:

1 By Nupur Jain

2 It is widely used general purpose, high level programming language. Developed by “Guido van Rossum in 1991”. It is used for: software development, web development (server-side), system scripting, Mathematics.

3 Python is based or influence with two programming languages ABC language language created as replacement of basic and module 3

4 An Interesting Facts------------ Do you know Python,the programming language named after famous BBC comedy show namely Monty Python Flying Circuits. As Per Feb 2013, Python was 4 th most popular programming language.

5 Python pluses----------- easy to use object oriented language It is High Level Language It is Programmer Friendly language Expressive language Interpreted language Cross platform language Free and open source Variety of uses and applications

6 Python pluses----------- 1.Easy to use – It is Easy object oriented language. Due to simple syntax rules. 2. Expressive Language –– Less code to be written as it itself express the purpose of the code 3.Interpreted language – Code execution & interpretation line by line 4. Completeness- Support wide rage of library No not need to download and install additional libraries. That’s why It is also called “batteries included philosophy”.

7 Python pluses----------- 5. Cross-platform language – It can run on windows, Linux, Macintosh etc. equally, Means Python can run equally well on variety of platform. 6.Varity of Usages/Application- Scripting, Web Application, Game Development, Database Application etc. 7. Free & Open Source – Can be downloaded freely and source code can be modify for improvement

8 Lesser libraries – as compared to other programming languages like c++,java,. Net 2. Slow language – as it is interpreted languages, it executes the program slowly. 3. Weak on Type-binding – It not pin point on use of a single variable for different data type. 4.Not Easily covertible

9

10 Download Python distribution You can download python distribution from the link given below https://www.python.org/downloads/ https://www.python.org/downloads/

11 Python installation process 1. Double-click the icon labeling the file.exe Popup window will appear Click on Run option

12 2. Setup popup window will appear1. If the Python Installer finds an earlier version of Python installed on your computer, the Install Now message will instead appear as Upgrade Now(and the checkboxes will not appear).

13 3. User Account Conrol pop-up window will appear. Click the Yes button.

14 . Soon, a new Python Setup pop-up window will appear with a Setup was successfully message Click the Close button.

15 PROCESS OF WRITING PROGRAM After installation of python,we can work on it in following ways (i) in Interactive mode (ii) in Script modeClick the Close button.

16 ( ii) in Interactive mode Step 1 (Create program file) / Hello world program Below steps are for simple hello world program a.Click Start button->All Programs -> Python- >IDLE b. b. Now click File->New in IDLE Python Shell c.Now type print (“hello”) print (“world”) print (“python is”,”object oriented programming lang.”) c. Click File->Save and then save the file with filename and.py extension

17 Click start button -> All programs -> python->IDLE(Python GUI)

18 )

19 ( ii) in Script mode Step 2 (Run program file) a. Click Open command from IDLE’s File menu and select the file you have already saved b. Click Run-> Run Module c. It will execute all the commands of program file and display output in separate python shell window Note :- Python comes in 2 flavors – python 2.x and python 3.x.

20 1. It has Simplified Syntax not complicated. 2. Can be easily written and executed much faster than other programming language. 3. Because of mature and supportive python committee 4. it is used in Big Data machine language and cloud computing 5. Python being high demand in the development market nowadays. 6. In today's the prospective Python is hottest cake in the market 7. Education point of view it is used in artificial intelligence,Deep learning,data Science. 8. Thus it is easy to learn most demanding language in every field.

21 1. Easy to use – Due to simple syntax rule 2. Interpreted language – Code execution & interpretation line by line 3. Cross-platform language – It can run on windows,linux,macinetosh etc. equally 4. Expressive language – Less code to be written as it itself express the purpose of the code. 5. Completeness – Support wide rage of library 6. Free & Open Source – Can be downloaded freely and source code can be modify for improvement

22 1. Lesser libraries – as compared to other programming languages like c++,java,.net 2. Slow language – as it is interpreted languages,it executes the program slowly. 3. Weak on Type-binding – It not pin point on use of a single variable for different data type.

23 Two Steps Only – 1. Download Python distribution 2. Python installation process

24 Download Python distribution You can download python distribution from the link given below https://www.python.org/downloads/

25 Python installation process 1. Double-click the icon labeling the file.exe Popup window will appear Click on Run option

26 Setup popup window will appear

27 If the Python Installer finds an earlier version of Python installed on your computer, theInstall Nowmessage will instead appear asUpgrade Now(and the checkboxes will not appear). Highlight theInstall Now(orUpgrade Now) message, and then click it

28 4. A new Python Setup pop-up window will appear with a Setup Progress message and a progress bar.

29 5. Soon, a new Python Setup pop-up window will appear with a Setup was successfully message Click the

30 After installation of python,we can work on it in following ways in Interactive mode in Script mode

31 In Interactive mode Search the python.exe file in the drive in which it is installed. If found double click it to start python in interactive mode

32 Click start button -> All programs -> python ->IDLE(Python GUI)

33 ii) in Script mode Step 2 (Run program file) a.Click Opencommand from IDLE’s File menu and select the file you have already saved b.Click Run-> Run Module c.It will execute all the commands of program file and display output in separate python shell window

34 ii) in Script mode Step 2 (Run program file) a.Click Opencommand from IDLE’s File menu and select the file you have already saved b.Click Run-> Run Module c.It will execute all the commands of program file and display output in separate python shell window

35


Download ppt "By Nupur Jain. It is widely used general purpose, high level programming language. Developed by “Guido van Rossum in 1991”. It is used for: software development,"

Similar presentations


Ads by Google