Debugger is a program that helps us to find what is going in our program. You can use debugger to execute each line of code, print variables in each step, break execution at any line, again start execution, stop execution and repeat same steps until you find the bug in the program.
In this blog post, we connect MySQL database with Django project from scratch using mysqlclient python package. Here we will used MySQL Workbench GUI tool for creating database.
Implementing infinite scrolling with django as like the web pages in facebook, twitter, instagram using django's Paginator class and a jQuery plug-in called jScroll. jScroll is a jQuery plugin for creating infinite scrolling in websites that has the ability to load content via AJAX within the current page when the user scroll to the bottom of the page.
Before starting this tutorial on Exception Handling, we have to know why actually we want to trap(or handle) errors. For the answer, we handle exceptions to deal with the situations like file does not exist, unusual input from users and other problems that can cause our programs to crash.
Object Oriented Programming (OOP) is a method of structuring a program by clustering common properties and behavior into individual objects. OOP supports code reusability, abstraction and encapsulation. OOP is based on concept of objects that contains code and data.
Data processing is very important part of analyzing data. It is because the data available are not always in desire format. Before analyzing data processing such as cleaning, merging, etc. are required. NumPy, Scipy and pandas are some of the tools available in python for data processing.