Python Tutorial

Multiple File Upload in Django Tutorial

Submitted by oretnom23 on

In this tutorial, you can learn to Iterate Request Files and Upload Multiple Files at once using Django in Python. This tutorial aims to provide students and beginners with a reference for learning to develop a dynamic website using Django. Here, I will be giving some steps for creating a simple web application that results in an App that allows users to upload multiple files at once.

Getting Started

Before we start the coding part, please download and install Python and Django on your local machine first.

How To Write and Call Function in Python

Submitted by admin on

Functions are blocks of reusable code in Python that perform a specific task. They take inputs, process them, and return outputs. Functions can be called from anywhere in your code, allowing you to avoid duplicating the same code in multiple places. Functions make code more modular, easier to read and maintain, and allow for better code organization.

How To Write A Function

Here is an example of a simple Python function that takes in two arguments and returns their sum:

How To Use Loops in Python

Submitted by admin on

Loops are a key programming construct in Python that allow you to execute a block of code repeatedly. The two most common types of loops are for loops and while loops. For loops are used to iterate over a sequence of values, such as a list, and execute a block of code for each value.

How to Create Simple Stopwatch Program with Tkinter in Python

Submitted by razormist on
Learn on how to How to Create Simple Stopwatch Program with Tkinter in Python. A simple Python program where your can track your physical record. You can start the timer to test your speed endurance while running. This tutorial will teach how to create this simple program. Python Free Tutorial.

Sending Mail in Python using Django Framework Tutorial

Submitted by oretnom23 on

In this tutorial, we will tackle about Sending Mail in Python using Django Framework. We will be using the GMail STMP as our Email Host for sending mail. Here, you will learn the process or steps that need to be done to send mail from your Python Django App. We will be creating a simple Django Project that contains a Send Us a Message Form. Using the said form, the app will be sending an email to the site email receiver.

Gettign Started

Download Python and pip in your local machine.