Abhijeet Pal: Python Program to Calculate Power of a Number
Link: http://example.com/calculate-power-of-a-number/
Problem Definition Create a Python program to take two numbers from the user one being the base number another the exponent then calculate the power. Program import math base_number = float(input("Ent
Link: http://example.com/calculate-power-of-a-number/
Problem Definition Create a Python program to take two numbers from the user one being the base number another the exponent then calculate the power. Program import math base_number = float(input("Ent
Abhijeet Pal: Python Program to Find the Factors of a Number
Link: http://example.com/find-the-factors-of-a-number/
The factor of any number is a whole number which exactly divides the number into a whole number without leaving any remainder. For example, 3 is a factor of 9 because 3 divides 9 evenly leaving no rem
Link: http://example.com/find-the-factors-of-a-number/
The factor of any number is a whole number which exactly divides the number into a whole number without leaving any remainder. For example, 3 is a factor of 9 because 3 divides 9 evenly leaving no rem
Abhijeet Pal: Python Programs to Create Pyramid and Patterns
Link: http://example.com/create-pyramid-and-patterns/
In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks def half_pyramid(rows): for i in range(rows): print('*' * (i+1)) half_pyramid(6) O
Link: http://example.com/create-pyramid-and-patterns/
In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks def half_pyramid(rows): for i in range(rows): print('*' * (i+1)) half_pyramid(6) O
Abhijeet Pal: Python Program to Convert Binary Number to Decimal and Vice-Versa
Link: http://example.com/convert-binary-number-to-decimal-and-vice-versa/
A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols 0 and 1. The decimal numeral system is the standard system for denoting integer
Link: http://example.com/convert-binary-number-to-decimal-and-vice-versa/
A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols 0 and 1. The decimal numeral system is the standard system for denoting integer
Abhijeet Pal: Python Program to Convert Octal Number to Decimal and vice-versa
Link: http://example.com/convert-octal-number-to-decimal-and-vice-versa/
The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7. The main characteristic of an Octal Numbering System is that there are only 8 distinct counting digi
Link: http://example.com/convert-octal-number-to-decimal-and-vice-versa/
The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7. The main characteristic of an Octal Numbering System is that there are only 8 distinct counting digi
Abhijeet Pal: Python Program To Reverse a Sentence
Link: http://example.com/reverse-a-sentence/
Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into a list of words. Join the list in the reverse order which ultimately is t
Link: http://example.com/reverse-a-sentence/
Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into a list of words. Join the list in the reverse order which ultimately is t
Abhijeet Pal: How To Fix - FATAL: Peer authentication failed for user "postgres" Error
Link: http://example.com/how-to-fix-fatal-peer-authentication-failed-for-user-postgres-error/
Peer authentication failed error arrives when you try to login to your PostgreSQL user but authentication fails because by default psql connects over UNIX sockets using peer authentication instead of
Link: http://example.com/how-to-fix-fatal-peer-authentication-failed-for-user-postgres-error/
Peer authentication failed error arrives when you try to login to your PostgreSQL user but authentication fails because by default psql connects over UNIX sockets using peer authentication instead of
Abhijeet Pal: How To Backup and Restore Data in PostgreSQL Database
Link: http://example.com/backup-and-restore-data-in-postgresql/
PostgreSQL is undoubtedly one of the most popular and efficient open-source relational database management system powering millions of applications. These days a database backup mechanism is essential
Link: http://example.com/backup-and-restore-data-in-postgresql/
PostgreSQL is undoubtedly one of the most popular and efficient open-source relational database management system powering millions of applications. These days a database backup mechanism is essential
Abhijeet Pal: Creating custom template tags in Django
Link: http://example.com/creating-custom-template-tags-in-django/
Django templates have access to a series of built-in tags and filters that don't require any setup steps such as {% if %} and {% for %}. However, Django also allows you to create your own template tag
Link: http://example.com/creating-custom-template-tags-in-django/
Django templates have access to a series of built-in tags and filters that don't require any setup steps such as {% if %} and {% for %}. However, Django also allows you to create your own template tag
Abhijeet Pal: How To Deploy Django App with Nginx, Gunicorn, PostgreSQL and Let's Encrypt SSL on Ubuntu
Link: http://example.com/deploy-django-with-nginx-gunicorn-postgresql-and-lets-encrypt-ssl-on-ubuntu/
Django is a high-level full-stack open-source web framework written in Python, that encourages rapid development and clean, pragmatic design. Django is the go-to framework for any project irrespective
Link: http://example.com/deploy-django-with-nginx-gunicorn-postgresql-and-lets-encrypt-ssl-on-ubuntu/
Django is a high-level full-stack open-source web framework written in Python, that encourages rapid development and clean, pragmatic design. Django is the go-to framework for any project irrespective
Abhijeet Pal: Using Environment Variables In Django
Link: http://example.com/environment-variables-in-django/
While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcode
Link: http://example.com/environment-variables-in-django/
While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcode
Abhijeet Pal: How To Upload Images With Django
Link: http://example.com/uploading-images-with-django/
One of the most common requirement in any modern web application is the ability to take images or pictures from the users as input and save them on the server however Letting users upload files can ha
Link: http://example.com/uploading-images-with-django/
One of the most common requirement in any modern web application is the ability to take images or pictures from the users as input and save them on the server however Letting users upload files can ha
Abhijeet Pal: Django + AJAX : How to use AJAX in Django Templates
Link: http://example.com/django-ajax-with-jquery/
AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests. In simpler words, AJAX allows web pages to
Link: http://example.com/django-ajax-with-jquery/
AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests. In simpler words, AJAX allows web pages to
Abhijeet Pal: Python callable() Explained
Link: http://example.com/callable-explained/
In programming, a callable is something that can be called. In Python, a callable is anything that can be called, using parentheses and maybe with some arguments. Functions, Generators, and Classes ar
Link: http://example.com/callable-explained/
In programming, a callable is something that can be called. In Python, a callable is anything that can be called, using parentheses and maybe with some arguments. Functions, Generators, and Classes ar
Abhijeet Pal: Python's @classmethod and @staticmethod Explained
Link: http://example.com/classmethod-and-staticmethod-explained/
For beginners who are learning object-oriented programming in Python, it is very essential to have a good grasp over class method and static method for writing more optimized and reusable code. Also,
Link: http://example.com/classmethod-and-staticmethod-explained/
For beginners who are learning object-oriented programming in Python, it is very essential to have a good grasp over class method and static method for writing more optimized and reusable code. Also,
Abhijeet Pal: Python's @property Decorator Explained
Link: http://example.com/property-decorator-explained/
Python provides a built-in @property decorator which makes usage of getter and setters much easier in Object-Oriented Programming. Properties are useful because they allow us to handle both setting an
Link: http://example.com/property-decorator-explained/
Python provides a built-in @property decorator which makes usage of getter and setters much easier in Object-Oriented Programming. Properties are useful because they allow us to handle both setting an
Abhijeet Pal: Sending Email With Zip Files Using Python
Link: http://example.com/sending-email-with-zip-files-using-python/
In this tutorial, we will learn how to send emails with zip files using Python's built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer Protocol ) server
Link: http://example.com/sending-email-with-zip-files-using-python/
In this tutorial, we will learn how to send emails with zip files using Python's built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer Protocol ) server
Abhijeet Pal: Sending Emails With CSV Attachment Using Python
Link: http://example.com/sending-emails-with-csv-attachment-using-python/
In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can use the Gmail SMTP or Maligun
Link: http://example.com/sending-emails-with-csv-attachment-using-python/
In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can use the Gmail SMTP or Maligun
Abhijeet Pal: Python's Generator and Yield Explained
Link: http://example.com/generator-and-yield-explained/
Generators are iterators, a kind of iterable you can only iterate over once. So what are iterators anyway? An iterator is an object that can be iterated (looped) upon. It is used to abstract a contain
Link: http://example.com/generator-and-yield-explained/
Generators are iterators, a kind of iterable you can only iterate over once. So what are iterators anyway? An iterator is an object that can be iterated (looped) upon. It is used to abstract a contain
Abhijeet Pal: Using Email As Username For Authentication In Django
Link: http://example.com/using-email-as-username-for-authentication-in-django/
Django ships with an extensive built-in authentication system that uses a username and password combination for authentication. However, sometimes you might want to use email as the username therefore
Link: http://example.com/using-email-as-username-for-authentication-in-django/
Django ships with an extensive built-in authentication system that uses a username and password combination for authentication. However, sometimes you might want to use email as the username therefore
Abhijeet Pal: Django Admin Making Model Fields Required
Link: http://example.com/django-admin-making-model-fields-required/
In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin in
Link: http://example.com/django-admin-making-model-fields-required/
In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin in