Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
23 views

Day 1.2 - CH2 - Introduction To Python

Uploaded by

nguejip47
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Day 1.2 - CH2 - Introduction To Python

Uploaded by

nguejip47
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

1ALG

ALGORITHMS WITH
PYTHON

Chapter 2: Introduction to Python


Summary

- What is python.
- Why python ?
- Python Installation.
- Environment setup.
- First program.
What is python ?

- First version in 1991


- Created by Guido Van Rossum
- Open source !
- Interpreted language.
- Syntax close to English.

3
Guido van Rossum
- Famous Dutch programmer.

- Started working on python as a hobby in 1989.

- Big fan of the Monty Python.

4
Important Dates

Creation of the Python Software


First version Foundation

1991 2001

2000 2008

Release of python 2.0 The great break : python 3.0

5
Who uses python ?

- 95% of the fortune 500 companies (2022)

- First language of the TIOBE index.

- Backed by big companies like Google, Facebook and Amazon

6
Why learn python ?

MACHINE DATA SCIENCE AUTOMATION SCRIPTING SIMULATION


LEARNING

FINANCE WEB API

7
Open-source language !

- Main implementation is available on GitHub :

https://github.com/python/cpython

- More than 2000 contributors to CPython.

- You can contribute too !

8
Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.


Python Complex is better than complicated.
philosophy.
Flat is better than nested.

Sparse is better than dense.

Readability counts.

9
Let’s install our Environment

• Last Python 3 stable release


• Your IDE
• Pycharm
• VSCode

10
Python Installation

https://www.python.org/downloads/ 11
The python REPL

12
VSCode installation
https://code.visualstudio.com/Download
13
PyCharm installation
https://www.jetbrains.com/pycharm/download/
14
Your first python program

- Create a file named "hello.py" in your editor.

- Write this inside : print("Hello, world !")

- Execute the file by running "python hello.py"

15
Conclusion

- Python is popular programming


language.
- We have configured our environment.
- We have created our first python
program.

16
Questions

17

You might also like