Getting Started With Python

In this article, we will install Python and create the first “Hello World” application using Python.
What Is Python?
Python is a high-level, general-purpose, interpreted, Cross-Platform, Case Sensitive, and Object-Oriented programming Language. Python was created by Guido van Rossum and first released in 1991. It uses an Object-Oriented approach which makes the programmer write clear, logical code for projects. Python has become one of the most popular programming languages used in the world. It is easy to learn because its syntax is similar to the English language. It uses a new line to complete commands and indentation to indicate a block of code. Python is derived from C, C++, Algol-68, Unix Shell, and other scripting languages, etc. The latest version of the Python is Python 3.


Best Practices for Using Maybes and Creating Default Values

You’ve learned that using Maybes allows you to get rid of null pointer exceptions (i.e. “undefined is not a function”). However, now your application fails and gives no indication as to why. Errors would have left a stack trace that could have provided a hint as to where the problem originated, but, clearly here, you don’t have that to rely on. What should you be doing instead?

Null Pointers in Python vs. Ruby, Lua, and JavaScript
Let’s define what we mean by null pointers and how you usually encounter them. Most null pointers you’ll run into are from either accessing a property of an object to show on the screen or calling a method on an object.


Pyleri Tutorial: Parsing with Ease

You can find the source code in the companion

Welcome to a tutorial on Pyleri, a.k.a. the Python Left-Right Parser, a simple parsing tool used you need something more robust than a regular expression but less dense than a full-parser generator. In this tutorial, we are going to show you how to use the tool to quickly parse through your text files.
Why Learn Pyleri?
We chose Pyleri because of its ease of use and its overall effectiveness. It makes creating parsers easy. It can also quickly support features like auto-completion. In addition, the same grammar can also generate parsers for multiple languages: JavaScript, C, Python, Go and Java. It is also well-tested given that it was designed to be used with SiriDB, a highly-scalable and fast time-series database.