Data Science – Python Introduction

mr.bigdata for data science

Python Language Introduction


Python is a widely used general-purpose, high level programming language. It was initially designed by Guido van Rossum in 1991 and developed by the Python Software Foundation.It was designed primarily to highlight the readability of the code, and allows its syntax for programmers to communicate concepts in fewer lines of codes.

Below are some facts about Python.

  • Python may be a widely used general-purpose, high-level programing language.
  • Python allows programming in Object-Oriented and Procedural paradigms.
  • Python programs generally smaller than other programming languages like Java and C++.
  • Programmers need to type relatively less and indentation requirement of the language, makes them readable all the time.
  • Python language is getting used by most tech-giant companies like – Google, Amazon, Facebook, Instagram, Dropbox, Uber… etc

The biggest strength of the Python is large library which may be used for the subsequent.

  1. Machine Learning
  2. GUI Applications (like Kivy, Tkinter, PyQt etc. )
  3. Web frameworks like Django (used by YouTube, Instagram, Dropbox)
  4. Image processing (like OpenCV, Pillow)
  5. Web scraping (like Scrapy, BeautifulSoup, Selenium)
  6. Test frameworks
  7. Multimedia
  8. Scientific computing
  9. Text processing and many more

Python is a programming language that permits you to work quickly and integrate systems more effectively.There are two major Python versions- Python 2 and Python 3. Both are quite different.

Beginning with Python programming:

  • Finding an Interpreter:


Before we start Python programming, we need to have an interpreter to interpret and run our programs. There are certain online interpreters like https://www.onlinegdb.com/online_python_interpreter, https://ideone.com/ or https://repl.it/languages/python3 that can be used to start Python without installing an interpreter.

Windows:There are many interpreters available freely to run Python scripts like IDLE ( Integrated Development Environment ) which is installed once you install the python software from http://python.org/
Linux:For Linux, Python comes bundled with the linux.

  • Writing first program:

Following is the first program in Python

#script begins
print("Hello Mr.Bigdata ") 
#output
Hello Mr.Bigdata

Let us analyze the script line by line.


Line 1 : [Script] starts in Python’s view #. So this statement is for readability of code and ignored by the Python interpreter.


Line 2 : [print (“Hello Mr. Bigdata”)] Python script is used to print on the console font function () but a line is printed (and including line drawing unlike C). The difference between Python 2 and Python 3 is the printed statement.. In Python 2, the “print” statement is not a function, and therefore can be invoked without parentheses. However, in Python 3, it is a function, and must be invoked with parentheses.

Python certainly is here for the long run. Are you?

Analytics Data Science Machine Learning Programming Python python class definition python class example python class method python data types python functional programming python function definition python function return python have data types python loop on list python loop on string python loops python range between

  1. Sourabh Yashwant Patil's avatar
    Sourabh Yashwant Patil on Python

    Good knowledge..

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.