PEP stands for Python Enhancement Proposal. A PEP is an official design document that describes new features proposed for Python and documents aspects of Python, like design and style, for the community. PEP 8 exists to …

Last updated 4 years, 3 months ago | 1828 views

Tags:- Python

MRO stands for Method Resolution Order. Talking of multiple inheritances, whenever we search for an attribute in a class, Python first searches in the current class. If found, its search is satiated. If not, it …

Last updated 4 years, 3 months ago | 1827 views

Tags:- Python

Django | Cookie  A cookie is a small piece of information that is stored in the client's browser. It is used to store a user’s data in a file permanently (or for a specified time). Cookie …

Last updated 4 years, 3 months ago | 1818 views

Tags:- Django

Django is a framework that allows you to build large projects. On the other hand, Flask is used to build smaller websites but flask is much easier to learn and use compared to Django. Django is …

Last updated 4 years, 3 months ago | 1808 views

Tags:- Django

Once your BigQuery table is created, the next step is to insert data. Using Python and the BigQuery client library, you can insert rows programmatically—perfect for ETL pipelines, data automation, or ingestion workflows. In this …

Last updated 1 year, 4 months ago | 1807 views

Tags:- Python BigQuery

Python |  issubclass() This is done by using a method called issubclass() provided by python. The method tells us if any class is a child of another class by returning true or false accordingly.     …

Last updated 4 years, 3 months ago | 1803 views

Tags:- Python

Python | Generator Functions that return an iterable set of items are called generators. It is a normal function except that it yields expression in the function. It does not implements __itr__ and next() method and …

Last updated 4 years, 3 months ago | 1796 views

Tags:- Python

Python | new_style and old_style Old-style: With old-style classes, class and type are not quite the same things.  If obj is an instance of an old-style class, obj __class__ designates the class, but the type(obj) is always …

Last updated 4 years, 3 months ago | 1793 views

Tags:- Python

Python | Generate random numbers Python provides a module called random using which we can generate random numbers. e.g: print(random.random())     We have to import a random module and call the random() method as shown …

Last updated 4 years, 3 months ago | 1791 views

Tags:- Python

Markers in Matplotlib are symbols used to highlight individual data points on plots. They are especially useful in line plots, scatter plots, and custom visualizations where you want to emphasize the individual points. This guide …

Last updated 1 year, 3 months ago | 1789 views

Tags:- Python Matplotlib

Yes, it is possible if the base class is instantiated by other child classes or if the base class is a static method.

Last updated 4 years, 3 months ago | 1787 views

Tags:- Python

The csrf_token is used for protection against Cross-Site Request Forgeries. This kind of attack takes place when a malicious website consists of a link, some JavaScript, or a form whose aim is to perform some …

Last updated 4 years, 3 months ago | 1786 views

Tags:- PHP Django CodeIgniter

Django follows a Model-View -Template (MVT) architecture which is a variant of the MVC architecture.  Model: Logical data structure behind the entire app and signified by a database. A model is used in Django to …

Last updated 4 years ago | 1783 views

Tags:- Django

yield is a keyword beares the ability to turn any function into a generator.  Much like the standard return keyword, but returns a generator object. It is also true that one function may observe multiple …

Last updated 4 years, 3 months ago | 1783 views

Tags:- Python

Windows | Set path and environment variables in Windows 10 Press the + to access the Power User Task Menu. Now, select the System option. In the About window, click the Advanced system settings link under Related settings from the right side. In the Advanced tab, click the  button. In …

Last updated 4 years, 1 month ago | 1777 views

Tags:- Windows