THE WALRUS OPERATOR IN PYTHON 3.8 Date: 29/01/2020 Introduction Walrus Operator is another name for Assignment Expressions. I will explain in detail in this article. Assignment Expressions are written with a new notation which is colon followed by equal to expression ( := ) . It allows you to assign… Continue Reading THE WALRUS OPERATOR IN PYTHON 3.8

HOW TO PASS TWO OR MORE LISTS IN FOR LOOP USING PYTHON Date: 07/12/2019 Introduction Python has global built-ins that are handy for a regular problem. Specifically, I will explain zip() in this article. Let’s take an example from Avengers, Have to match the list of Avengers characters with the… Continue Reading HOW TO PASS TWO OR MORE LISTS IN FOR LOOP USING PYTHON

Deep Copy and Shallow Copy Date : 04/10/2019 copy module is used to create for shallow and deep copy operations Python. Shallow copy=>create a new object and store the reference of original elements. import copy var1=[1,2,3,4] var2=copy.copy(var1) var1 [1, 2, 3, 4] var2 [1, 2, 3, 4] Example for Shallow copy… Continue Reading Deep Copy and Shallow Copy

Python Dictionary Operations Date: 19/09/2019 In this tutorial, I going to explain the basics of python dictionary operations and methods. INTRODUCTION Python dictionary is an unordered collection of items and also it contains key-value pairs and enclosed by curly-braces { }. Each key-value pair in a python dictionary is separated… Continue Reading Python Dictionary Operations

Essential things to know about List data structure in python DATE : 22/08/2019 INTRODUCTION In python, the list is defined as a collection of items separated by a comma within the square bracket. which is best to use when we want to work with different values. LIST one of the… Continue Reading Essential things to know about List data structure in python

ValueError: unknown locale: UTF-8 Date posted : 07/06/2019 There are times when install some packages, you will end getting this error due to locale issue. Solution: You need to add locale settings in environment file. Open the file and append below lines. Thanks for using pheonix solutions. You find this tutorial… Continue Reading ValueError: unknown locale: UTF-8

PYTHON JSON: ENCODE AND DCODE Date posted :16/05/2019 What is json: JSON stands for JavaScript Object Notation. It may be a string or text format. JSON is similar to python dictionary. Python has a inbuilt library for JSON. syntax of JSON: Encoding: Converting python data into JSON is called encoding. dump() method used to… Continue Reading PYTHON JSON: ENCODE AND DCODE

How to solve Django migration errors-“core_module issue” Date posted : 29/03/2019 In this post, we’re gonna explain about the django migration related errors and how to solve it. Lets say you did add some new feature to your application and would like to roll out the changes to the production… Continue Reading How to solve Django migration errors-“core_module issue”

STEPS TO SETUP PYTHON ANACONDA IN CENTOS Date posted: 27/03/2019 Introduction Anaconda is a distribution for both Python and R, very popular among data scientists and machine learning coders. Today, we will see how to set up Anaconda in your CentOS server. This tutorial will helpful in setting up Anaconda… Continue Reading STEPS TO SETUP PYTHON ANACONDA IN CENTOS

Tutorial on how to connect python with MySQldb Date posted: 20/03/2019 Introduction: In this article helps you in connect python with MySQldb and insert queries in DB.  This example is explained based on Linux environment in Centos 7. Prerequisites: For centOS and RHEL based environment: 2. Pip installation is most… Continue Reading Tutorial on how to connect python with MySQldb