Django Project Structure Best Practice 2019

Learn Django structure best practice for the Django project structure 2019. Django is a web framework that has lots of files and folders inside it. A proper project organizing can help in keeping the project DRY (Don’t Repeat Yourself) and clean. Organizing a project is a must for every developer. This also helps the administrators… Continue Reading »

How to Django Export to Excel File with Video Explain

In this tutorial, you will learn how to Export Excel Spreadsheet with Django. You will learn how to do read-write operations on excel sheets. Styling Excel spreadsheet with XLWT Library. And writing to Existing Excel Workbook using XLWT. From this tutorial, you will learn how to – export to excel, excel export, django download excel… Continue Reading »

How to Export CSV File With Django

Django export CSV – You’ll learn to write a django based web application and write the data to a CSV file. I will explain to you how to Create CSV (Comma Separated Value) file with Django. We are going to use Python in-built CSV library which comes by default with Python. With this tutorial, you… Continue Reading »

How to Django Send Email with Attachment

Learn to Django send an email with an attachment. Django Email Attachment comes with in-built, ready to use Email System. Sending Email using Django is a Really Simple Task. In Django, we just need to import django.core.mail. You will learn how to send an email with multiple attachments in Django. How to Send Email With… Continue Reading »

Django Ajax CRUD – Execute CRUD Operations

Let’s see the example of Python Django Ajax CRUD Operations. Ajax is a way of making web development more dynamic. Using Ajax we can load data from the server without reloading the web pages. AJAX stands for Asynchronous Javascript and XML. In this tutorial, you’ll learn how to do CRUD operations using Django, Ajax Form… Continue Reading »

Python Program to Swap Two Numbers

To understand this example, you should have knowledge of following Python programming topics: Python – Operators There are two ways to swap two numbers: Without Using Temporary Variable Using Temporary Variable Source Code: Swap Using a temporary variable # Python Program to Swap Two Variables Using Temporary Variable x = 5 y = 7 print(“Before Swapping:… Continue Reading »

Prime Number Program in Python

Python to Check Number is Prime Number Programor Not A number that is divisible only by itself and 1 (i.e. 2, 3, 5, 7, 11) is called Prime Number. Note: 0 and 1 are not Prime Number To understand this example, you should have knowledge of following Python programming topics: Python – If…Else Condition Python –… Continue Reading »

Check if a Number and String is Palindrome Python

A word, phrase, or sequence that reads identical backwards as forwards. For Example – dad, mom, madam, 121, 1120211 To understand this example, you should have knowledge of following Python programming topics: Python – If…Else Condition Python – Operators Python – List Python – String Source Code – Python program to check if a string is… Continue Reading »

Odd Even Number Program – Python

A number which is divisible by 2 is called Even Number. A Number which is not divisible by 2 is called Odd Number To understand this example, you should have knowledge of following Python programming topics: Python – If…Else Condition Python – Operators Source Code : Python Odd-Even Program # Odd and Even Python Program #… Continue Reading »

Python Program to Check Leap Year

A year, occurring once every four years, which has 366 days including 29 February as an intercalary day. A leap year is exactly divisible by 4 except for century years (years ending with 00). The century year is a leap year only if it is perfectly divisible by 400. For example, 2020 is Leap Year2000… Continue Reading »