Category: Python

Traverse and Rename files in folder

I recently encountered a problem wherein I had to traverse through all the files in a folder and rename each file. The original files is as shown below having a set of characters and number separated by an “-” (hyphen) with jpg extension. d6445cef9361a2bf-1.jpg d6445cef9361a2bf-2.jpg d6445cef9361a2bf-3.jpg and so on. Here, the requirement was to remove […]

Read and Write JSON with Python

Introduction JSON stands for JavaScript Object Notation ( and was proposed by Douglas Crockford. JSON is an easy to understand data exchange format which is independent of programming languages. Why JSON? JSON allows websites to load data quickly and asynchronously in the background without much delay. JSON doesn’t have end tags like XML, is shorter […]

Using BitBucket with PyCharm

Introduction I’m working on a critical software and wanted to have private repositories so that only I can have access to those repositories. Even though GitHub is the most popular repository hosting service, unless you pay for the repositories you create they will be considered as public repositories and it’ll be available for all to […]

Installing Anaconda Python Distribution and PyCharm IDE to Setup a Python Development Environment

Introduction This article is about installing Anaconda Python Distribution and PyCharm IDE to setup a Python Development Environment. The steps described here should work on Windows/7/8/10 machines. Installing Anaconda Python Distribution Step 1: Go to the link below You have the option to download either Python 2.7 distribution (32 bit or 64 bit) or […]

Configuring PyCharm to Work With Enthought Canopy and GitHub

Work Like Charm with PyCharm, Enthought Canopy and GitHub Introduction                This article raised from my own need to find an easy to use guide with all the information related to setting up a Python working environment using PyCharm, Enthought Canopy and GitHub at a single source.                This article assumes that you know the […]

Python Syllabus

SUBJECT TITLE: PYTHON PROGRAMMING SUBJECT CODE: 15CS35 No. of Credits:4:0:0:0 No. of Lecture hours per week:4 Exam Duration :3 hours Exam Marks: 100 Total No. of Lecture hours: 52   Course Objectives: The objective of the course is to: Learn Syntax and semantics and create Functions in Python. To handle Files, Lists and Dictionaries in Python. Understand […]