Posts

Showing posts from September, 2020

PYTHON INTERVIEW QUESTIONS

Image
  What is Python? What are the benefits of using Python? Python is a programming language with objects, modules, threads, exceptions, and automatic memory management. The benefits of pythons are that it is simple and easy, portable, extensible, build-in data structure, and it is open-source. What is pickling and unpickling? Pickle module accepts any Python object and converts it into a string representation and dumps it into a file by using dump function. This process is called pickling. While the process of retrieving original Python objects from the stored string representation is called unpickling. What are the tools that help to find bugs or perform the static analysis? PyChecker is a static analysis tool that detects the bugs in Python source code Pylint is another tool that verifies whether the module meets the coding standard. What is the difference between list and tuple? The difference between list and tuple is that list is mutable  [ ]    while tuple is not...