11
February
2014

No Comments | 0 Shares | | Tags: AWS EC2 crontab Devops linux Python ubuntu

I recently faced a weird issue where I had a Python Script when run in my normal shell prompt as ./shell_script.sh runs fine, but when I run it as a cron job, it fails. After a lot of digging around I found out that the culprit was an OS command running in the python script. Read more →

18
March
2013

No Comments | 1 Shares | | Tags: Python

Pdb is Interactive debugging environment for Python programs. It includes features to pause a program, look at the values of variables, and watch program execution step by step and all this on terminal itself, you don’t need to install any IDE. Let’s learn some basic of PDB. Starting the Debugger There are three ways to Read more →

11
March
2013

No Comments | 2 Shares | | Tags: AWS AWS EC2 Python Python-Fabric

Amazon Web Services has made it extremely easy and cost effective for anyone to own computing infrastructure on the Cloud as a service and launch applications that can be made highly scalable. We have been working on AWS now for more than 2 years and have had situations where our application is spread across 50 Read more →

9
February
2013

No Comments | 2 Shares | | Tags: Django Python

I have worked on a couple of projects  that required some customization of the Django admin. Here are some of the ways I was able to customize the admin to add functionality. Adding Buttons to the Change View One of the major features needed for a project was the ability to manage a work flow Read more →

7
February
2013

No Comments | 2 Shares | | Tags: MySQLdb Python

Although I don’t write much of code these days, I do architect and RnD on the new frameworks and modules that get adopted in my projects. This implies that I need to have a development environment ready for trying out new frameworks to adopt. When I had to reinstall my Mac because of performance issues Read more →