Skip to main content

Introduction To Python : Python For Beginners

What is Python ?

Python is the most popular general purpose (Multi purpose) programming language now a days.It's used in almost everything  from machine learning to software development.


 

Python is a high level programming language with application in numerous areas, including web programming, scripting, scientific computing and artificial intelligence.Python is processed at runtime by the interpreter .It focus on object oriented programming and code readability.


Why Python ?

  1. It's easy to learn :  Python doesn't have very complex syntax structure so it is easier to learn python than the other programming languages. Simple syntax means time needed to learn  python is shorter from many other programming languages.
  2. Teaching Python is easy : As we know that the syntax of python programming is simple so teaching it will be easier.Thus the teacher can put more time and energy in general programming techniques.
  3. Understanding the python code is easy : Due to its simplicity and its philosophy of "Simple is better than complex" the codes are readable and easy to understand.
  4. It's easy to use for writing new software: It's possible to write code faster when using python.

Python in Physical world:

Python is used to implement complex internet services like search engines, cloud computing, cloud storage, social media and so on.


 

Python is used for:

  • Web and internet development 
  • Scientific and numeric computing
  • Education
  • Desktop GUI
  • Software development
  • Games, website and web services

 Python is used in :

  • Data science : This field makes up a sizable user base of python for both its                                                      
computing and compiling of data.
  •  Machine learning : Python code can implement machine learning which helps refine algorithm based technology from voice recognition to content recommendation.

  • Data mining : Python's nimbleness and scalability also make it an attractive program to process and mine big data, which seen a lot of mileage in the finances.

Disadvantage of python :

  •  Slow speed : Python is an interpreted language and dynamically-typed language. The line by line execution of code often leads to slow execution.
  • Weak in mobile computing : Python is generally used in server-side programming. We don’t get to see Python on the client-side or mobile applications because of the following reasons. Python is not memory efficient and it has slow processing power as compared to
    other languages. 

 Python is Interpreted Language :

In an interpreted language, the source code is not directly translated by the target machine. Instead, a different program (Interpreter) reads and execute the code.

            What?

Imagine you want to write a book about ancient people.But all the information you find about them is written in an ancient language (say Sanskrit) .

There are tow ways you a non-ancient-Sanskrit speaker could follow its direction.

1. The first is if someone had already translated it into English for you.You could read the English version of information and write the book.This is an example of compiled version

2. The second way is if you have a friend who knows ancient Sanskrit.When you are ready to write the book, your friend sits next to you and translate the information into English as you go, line by  line .In this case, your friend is the interpreter to the interpreted version of the information.

Python is object oriented programming (OOP) language :

OOP is a computer programming model that organizes software design around data, or object rather than function or logic.

OOP focuses on the objects that developer want to manipulate rather than the logic required to manipulate them.This approach to programming is well suited for programming that are large, complex and actively updated or maintained. This incl
udes programs for manufacturing and design, as well as mobile applications; for example, oop can be used for manufacturing system simulation software.

Comments

Popular posts from this blog

Strings and Strings operations in Python.

 Strings: If you want to enter text in python, you have to use a string. A string is created by entering text between two single or double quotation marks ("Text" or 'Text'). Some characters can't be directly included in a string. Say for example the double and single quotes can not be directly included in a double or  single quote string. This will end the code prematurely and can cause error. You can enter these kind of symbols by using { \ } before them. Other common characters that must be escaped are newlines and backslashes. Double quote only need to be escaped in double quote and is true for single quote as well. Note : Backslash can also be used to escape tabs, arbitrary unicode characters, and various other things that can't be reliably printed. These characters are called as escape characters. Newlines: We can create a newline or escape a newline in python using {\n} in place from where you want to start the new line. But python provides an easy w

First Program : Python For Beginner

 Python : Python is high level programming language with application in numerous areas including web programming, scripting, scientific computing, and artificial intelligence. First Program: "Hello World" So let's take our first foot into the world of Python.Open the console and type :                    print("Hello World") and press enter.                                                                                                                                                                       Hurry!! you have just created your first program. But remember python is case sensitive here P & p are different for python, so be careful about this. Printing Text :  The print statement can also be used to output multiple lines of text. To do so you have to use three quotation marks{"} and put the text between them.   There are some other methods as well for the multiple line text output, like instead of using three quotation marks we can use {\n