Blog App in Django Part I

In this tutorial we will build a Blog App in Django that allows users to create, edit and delete posts. The homepage will list all blog posts and there will be a dedicated detail page for each individual blog post. We will also introduce CSS for styling and learn how Django works with static files.

Learn Basic of Django with Message Board App

In this tutorial we will learn Basic of Django with Message Board Application where users can post and read short messages. We will use database for this purpose. We will also explore Django built-in admin interface which provides a visual way to make changes to our data. Towards end we will add few tests

Hello Django

The following tutorial has been operated on Ubuntu 22.04.02 with the Python Version 3.10.6 Create a virtual Environment Install Django Output Start a Django Projects Running Django Note that the full command line output will contain additional information including a warning about 18 unapplied migrations. Technically, this warning doesn’t matter at this point. Django is complaining that we have not […]

MySQL meets Python

MySQL is an open-source relational database management system (RDBMS). Here we will learn how to setup MySQL in ubuntu and use it with the help of Python. Thanks to w3schools.

Flask and Cookies

HTTP cookies (also called web cookies, Internet cookies, browser cookies, or simply cookies) are small blocks of data created by a web server while a user is browsing a website and placed on the user’s computer or other device by the user’s web browser. Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user’s device during a session.

Here we will learn to use cookies with flask.

Flask with Jinja

A simple headline website that uses RSS feeds to display the news from 7 news outlets. ‘feedparser’ library is used to parse the RSS feeds. ‘jinja’ is used to form html templates dynamically.

Flask Intro..

Flask is a web application framework written in Python. Armin Ronacher, who leads an international group of Python enthusiasts named Pocco, develops it. Flask is based on Werkzeug WSGI toolkit and Jinja2 template engine. Both are Pocco projects.
This tutorial is a first in series of tutorials about building a web application using Flask.

Q-Taxi

Introduction There are four designated locations in the grid world indicated by R(ed), G(reen), Y(ellow), and B(lue). When the episode starts, the taxi starts off at a random square and the passenger is at a random location. The taxi drives to the passenger’s location, picks up the passenger, drives to the passenger’s destination (another one of the four specified locations), […]

Exploration vs Exploitation

A colony of bees knows a garden of roses nearby. This garden is their primary source of nectar and pollen. There might be another garden far from their hive which might contain a variety of flowers. Going to that garden demands a lot of time and energy. Should this colony of bees continue bringing nectar and pollen from nearby rose […]