Tag: Python

How to Parse Namespaces using the Python RSS Parser?

In the last tutorial, we learned about how to build a Python based RSS Parser. Continuing that conversation and building on that tutorial, let’s now look at parsing Namespaces and Namespace specific elements. Getting Ready For the purpose of this tutorial, we will use the WhizRssAggregator.py file that we created in the previous tutorial. Parsing ...

How to build a RSS Parser in Python?

RSS is a way to distribute content on your website or meta-tag assets and distribute them to various platforms like Apple News, iTunes, Flipboard, and scores of other similar platforms. Owing to its support to perform Big-Data, Natural Language Processing, and simplicity Python has emerged as a popular programming language. This tutorial helps you build ...

Specifying a Python Version for Cloud Foundry

When you use Cloud Foundry to build Python based solutions like Django, you end up running into the issue of Python versions. By default Cloud Foundry, defaults the Python version to 2.7.11. Between version 2.7.11 and the latest 3.5.x, Python has made a lot of changes and even simple string processing functions could potentially error ...

Model Inheritance in Python Django

Amongst, other things, Django as a powerful framework allows you to directly map your object-oriented models to a database table structures and in doing so also builds relationships in the backend. A big part of object-oriented programming is Inheritance and the tutorial below demonstrates how to create 1:1 relationship between models. Basic Background Let’s assume that ...