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

HOW TO USE PYTHON : date time, Strftime Date : 30/05/2019 INTRODUCTION Python date time provides a number of function to deal with date and time . Before you run the code for datetime, it is important that you import the date time modules. IMPORT DATE TIME import date function from… Continue Reading PYTHON : Date Time, Strftime

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

Convert XML to Json format and store in Database using Python Date posted:23 /11 / 2018 Introduction: In this article, it is applicable to convert only a very small Xml file format  in to Json  format. The converted Json format will be inserted in to a  existing database in Mysql. … Continue Reading Convert xml to Json format and store in DB using Python

Using AWS Command Line Interface[AWS-CLI] for accessing S3 bucket. DATE POSTED: 06-10-2018 This was  simple manual solution and temporary way for  automation of  sending all your required  files to a remote backup.Immediate ways  to uploading and downloading the files to S3  become very easy by using AWS -CLI. Thus,here are… Continue Reading Using AWS Command Line Interface[AWS-CLI] for accessing S3 bucket.

Setting up Django and your web server with uWSGI and nginx Date posted: 05-oct-2018   In this article, we will see how to setup a Django web application on Ubuntu 16.04 server. We’ll use UWSGIservice to deploy our webapp along with Nginx. Requirements:- Python 3.6 Django 2.0.7 Nginx 1.10.3 Ubuntu 16.04 Install… Continue Reading Setting up Django and your web server with uWSGI and nginx on Ubuntu

Configure uwsgi with nginx for Django applications Date Posted: 11-05-2018 In this article, we’ll be explaining how to run uwsgi server with nginx for Django applications. Prerequisties:- 1. python2.7 2. nginx 3. pip 4. uwsgi Note: We are configuring this setup on RHEL 7.4. The same can be used for… Continue Reading Configure uwsgi with nginx for Django applications