DEV Community

Cover image for Talk Like Pythonista 0
Volkan Ozdamar
Volkan Ozdamar

Posted on

Talk Like Pythonista 0

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language.It created by dutch programmer Guido Van Rossum, under an OSI-approved open source license.

In every websites, books and even its logo shows a Python snake.Contrary common belief , it is not taking its name from this animal.One day when Guido was working on his project, he had been watching "Monty Python's Flying Circus", a BBC comedy series from the 1970s.Then he decided call it Python,because it was short, unique and slightly mysterious name for him.

When we look to the history of Python, it is going to take to lead.Growing fastly.Today is #1 language if we doesn't count elderly brothers Java and C.And some areas like A.I and Data Science it is must to learn programming language.Besides, most of universities giving entry level courses like Intoduction to Computer Science with Python, and it is affect the popularity also.The main reasons of this popularity, it is open source , easy to learn , running on multiplatform, has so many libraries and has a great community behind.Also big companies like Google, Wikipedia, Instagram, Spotify and Amazon using Python in their projects.

Tiobe Index September 2019

Python has two version today, one of these are Python 2.7.x will retire 2020.Because of that, if you want to learn Python from Scratch you should start Python 3.X.
Many Linux distros -i.e Ubuntu 17.10 and later- coming with Python pre-installed.You can check which version is having in your system with this command. 
If you don't have Python, you just install with one command in all operating systems with package manager.

Ubuntu

sudo apt-get install python3

Mac

brew install python3

Windows

choco install python3

or you can download and get more knowledge from official website. https://www.python.org/downloads/

if your installation is succesful open your Terminal or Command Line windows and type "python --version". Output should be like below.

$ python3 --version
Python 3.7.4

Time to roll up our sleeves to write our first program.Again on Terminal or Command Line , write "python3"

$ python3

This will open IDLE(Integrated DeveLopment Environment) .Python has another IDLE with GUI.Both of them has no differences.IDLE using for Interactive development.Other way is creating a script file with extension .py .

After open the IDLE you will see line is starting with ">>>".This is prompt line and it is waiting for your input.If you write print("Hello World !") and press Enter.Like below , it will print to you what you wrote inside parantheses without " .

Python 3.7.4 (default, Jul  9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello World !")
Hello World !

From beginning to end , i tried to explain everything for beginner to who has programming skills but want to back to basics.I will continue "Talk like Pythonista" series in the following times.Until next time , please don't forget to share and give feedback in the comments section.

Top comments (0)