Python is a an interpreted, popular, high-level, general-purpose programming language, Created by Guido van Rossum and first released in the year of 1991, Python's design philosophy emphasizes code readability with its use of writing. that can be used for a wide variety of applications. It includes high-level data structures, dynamic typing, dynamic binding, and many more features that make it as useful for complex application development as it is for scripting that connects components together. It can also be extended to make system calls to almost all operating systems and to run code written in C or C++.. top python interview questions and answers python is a high-level programming language
Q. Difference between Java & Python?
A. Easy of use Java is good where as Python is very good
Excellent speen coding in Python in Java slow coding
Q. What is the use of PYTHONPATH environment variable?
A. PYTHONPATH − It has a role similar to PATH. This path tells the Python interpreter to locate the module files imported into a program. It should include the Python source libraries and the modules of Python source code. PYTHONPATH is sometimes preset by the Python installer
Q. What is PYTHONSTARTUP?
A. It contains the path of an initialization file containing Python source code. It is executed every time you start the interpreter. It is named as .pythonrc.py in operating system and it contains commands that load utilities or modify PYTHONPATH
Q. What is PYTHONCASEOK?
A. It is used in Windows to instruct Python to find the first case-insensitive match in an import statement. Set this variable to any value to activate it.