PYTHON NOTES

 ▶ Chapter 1: Overview of Python and Data Structures

 Python is a widely used general-purpose, high level, interpreted, dynamic programing language. 

 Python laid its foundation in the late 1980s.

  The implementation of Python was started in December 1989 by Guido Van Rossum at CWI in Netherland.


Features of Python: 

1. It is Simple 

2. Easy to learn 

3. Free and Open source

 4. High level language: Strong abstraction from the details of the computer like registers, memory address and call stacks. 

5. Compiled as well as Interpreted: For the most part, Python is an interpreted language and not a compiled one, although compilation is a step. Python code, written in .py file is first compiled to what is called bytecode which is stored with a .pyc or .pyo format. This bytecode is a low-level set of instructions that can be executed by an interpreter.

 6. Embedded: The code of the other programming language can use in the Python source code. We can use Python source code in another programming language as well. It can embed other language into our code. 

7. Extensible ( Support for other languages ): Python is an Extensible language. We can write us some Python code into C or C++ language and also we can compile that code in C/C++ language. 

8. Dynamically Typed: Python is a dynamically-typed language. That means the type (for example- int, double, long, etc.) for a variable is decided at run time not in advance because of this feature we don’t need to specify the type of variable. 

9. Platform Independent: Python can run equally on different platforms such as Windows, Linux, UNIX, and Macintosh, etc. So, we can say that Python is a portable language. It enables programmers to develop the software for several competing platforms by writing a program only once. 

10. Procedure as well as Object oriented 

11. Large standard Library support: Python has a large standard library which provides a rich set of module and functions so you do not have to write your own code for every single thing. There are many libraries present in python for such as regular expressions, unit-testing, web browsers, etc. 

12. GUI Programming Support 



PDF OF CHAPTER 1:



No comments:

Post a Comment

In This blog GTU Computer Engineering/IT/CSE all Semester Study Material For All Subjects available

GTU BE Computer Engineering/IT/CSE all semester Study Material

BASIC ELECTRICAL ENGINEERING (BEE) Unit-1:  DC Circuits (20%) Unit-2:  AC Circuits (25%) Unit-3:  Transformers (15%) Unit-4:  Electrical Mac...