Saturday, 14 September 2019

PYTHON

Python :-

1. High-level programming languages are close to business problems.
Whereas low-level programming languages are close to system's problems.
Example of high-level programming languages: Python, Java, c#, Rube etc.
Low-level Programming languages: C, Assembly programming languages etc..
A high-level programming language makes the process of translating business requirements to computerized solutions faster than low-level languages.

2. Interpreted
    Python is interpreted programming language. Code which is written in english, has to be translated to binary code and understood by a computer. This is the process of translation.
There are two types of translations
1. Compilation. 
2. Interpretation.
In compilation a compiler translates all the lines of code at the same time then starts the execution. In interpretation an interpreter takes the first line, translates to machine code and executes, then takes the second line and so on.

3. Multi-purpose  :-
Python can be used for developing multiple application types. Web Applications using django, flask Data analysis using pandas, numpy, bokeh Devops Automation using boto Embedded apps using raspberry pi API Deeplearning using google's Tensorflow API

4. Not just a scripting language Python is a general purpose language. One can use python as a scripting language or as a programming language, the puspose for which we use different. In automation field, python programming is called as scripting. And in application development side, it is called programming. In both cases, a single set of python keywords and constructs are used. As a computer language there is no difference between scripting and Programming in python.

5. Extensible :- 
High-level languages are not performant, because they are more focused to provide developer friendly environment than optimizing for speed.     In real-time and time-critical applications, when performance required, we still have to consider languages with low-level features, like C and C++. Python provides futures required to merge other programming languages with python code. Java code can be used in python using 'jython', C# code can be accessed using 'IronPython'.

6. Multi paradigm  :-
Python welcomes programmers from various backgrounds, as python supports procedural, functional and object oriented programming styles.
Software Installation All the code examples in this book, are developed and tested using cutting edge tools, jupyter notebook and PyCharm IDE.


Variables:-
varaibles are place holders for values. Variables are for identification. Variables make things reusable. If we define variables, we do not need to change entire expression, instead change the values assigned to variables.






























No comments:

Post a Comment

Streamlining the usage of GITHUB

Streamlining the usage of Github with Commands 1. Start a new git repository under one directory locally In this step, we need to bui...