python interview questions and answers

Basic Python Interview Question and Answers

Sunday, 1 January 2017

What is a class in Python?


A class is a special kind of objects which creates new objects called instances.
You can change classes by using two different techniques:

1.monkey patching
2.class decorators
3.Metaclasses
Posted by GEETA BASRA at 00:07
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Post Older Post Home

Popular Posts

Blog Archive

  • ▼  2017 (17)
    • ▼  January (17)
      • NUMPY Queries
      • What is pickle in Python?
      • Excercise and Answers
      • Time Comparison between Python Lists and Numpy Arrays
      • what is linspace?
      • Difference between range and arange?
      • What is arange?
      • How to import data with genfromtxt?
      • How do we create a Numpy array?
      • How to convert Python array_like Objects to Numpy ...
      • Sort a python Dictionary by Value
      • What is Bubble sort?
      • Insertion Sort in Python
      • Quicksort in Python
      • what is sorting algorithm?
      • what is Numpy?
      • What is a class in Python?
  • ►  2016 (12)
    • ►  December (12)
Simple theme. Powered by Blogger.