Thursday 13 September 2018

Introduction to Python

What is Python?

Python is an interpreted High level programming Language for General purpose programming.
Python is created by Guido Van Rossem and first release in 1991.It is very dynamic and easy to use.



Scope :-
  • Application Development
  • Graphical Development
  • Game Development
  • Web Designing
  • Data Science
  • Machine Learning
  • Deep Learning 
Who Uses a Python?

YouTube :-  

The popular YouTube video sharing service is largely written in Python.


Google :-  

Google makes extensive use of Python in its web search systems.

Dropbox :-

Dropbox storage service codes both its server and desktop client software primarily in Python.

Raspberry :-

The Rasberry Pi single-board computer promotes Python as its educational language.

BitTorrent :-

BitTorrent peer-to-peer file sharing system began its life as a Python program.

NASA :-

NASA, Los Alamos, Fermilab, JPL, and other use Python for scientific programming tasks.

NSA :-

The NSA uses Python for cryptography and intelligence analysis.


NETFLIX :-

Netflix and Yelp have both documented the role of Python in their software infrastructures.


Python Features 
  •  Python is simple and easy to learn and also read and write.
  • Python is an example of a FLOSS (Free/Libre and Open Source Software)  which means one can freely distribute copies of this software, read it's source code, modify it, etc.
  • Python is a (High-level Language) one does need to bother about the low-level details like memory allocation, etc. while writing Python script
  • It is supported by many platforms like Linux, Windows, FreeBSD, Macintosh, Sloaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, PlayStation, Windows CE, etc.
  • Python supports procedure-oriented programming as well as object-oriented programming.
  • Python code can invoke C and C++ libraries, can be called from and C++ programs, can integrate with Java and .NET components.
Top 5 Reasons to Learn Python

1. Dynamically Typed
     No type when declaring a variable
     Skip headaches of Java type casting
Java:      int x = 1;
               x = (int) x/2;              
                                         x now equals 0
                                         x can never equal 0.5
Python:     x = 1
                  x = x/2               x now equals 0.5

2. Simple Syntax 
  • Some programming languages will kill you with parentheses, brackets, braces, commas and colons.
  • With Python you spend less time debugging syntax and more time programming.
3. One-Liners 
  • Elegant 1-line solutions to what takes a whole block of code in other language.
  • One example: swap x and y
          Java:          int temp = x;
                            x = y;
                            y = temp;
          Python:     x,y = y,x         Wow! Now that's Pythonic

4. English-like Commands
            Java:       String name = "Bob";
                             System.out.println (name);
            Python:    name = "Bob"
                              print (name)

5. Intuitive Data Structures
          Lists, Tuples, Sets, Dictionaries
          Powerful, yet simple and intuitive to use
          Flexible (mixed data types)


0 Comments:

Post a Comment

Popular Posts

Categories

AI (27) Android (24) AngularJS (1) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (113) C (77) C# (12) C++ (82) Course (60) Coursera (176) coursewra (1) Cybersecurity (22) data management (11) Data Science (85) Data Strucures (6) Deep Learning (9) Django (6) Downloads (3) edx (2) Engineering (14) Excel (13) Factorial (1) Finance (5) flutter (1) FPL (17) Google (18) Hadoop (3) HTML&CSS (46) IBM (25) IoT (1) IS (25) Java (92) Leet Code (4) Machine Learning (43) Meta (18) MICHIGAN (4) microsoft (3) Pandas (3) PHP (20) Projects (29) Python (725) Python Coding Challenge (169) Questions (2) R (70) React (6) Scripting (1) security (3) Selenium Webdriver (2) Software (17) SQL (40) UX Research (1) web application (8)

Followers

Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses