Home » Python (page 3)

Python

“Object Literals” in Python

This may come as a shock to my regular readers, but even as a Pythonista and Kotlinite, I’m a little jealous of JavaScript. That’s right; I – a JS hater – am jealous of JavaScript. More specifically, I’m jealous of JavaScript’s object literals (also full-featured function literals, but I don’t think I can do anything about that). Yes, in many ...

Read More »

The Yin and Yang of Python

It’s time that I got a bit more real with you guys. Pretty much ever since I learned Python, I’ve been touting it as a super amazing language. I’ve been doing the same with Kotlin, but this is about Python. Now, this doesn’t mean I’m going to be changing my tune from here on out; after this, I’m not really ...

Read More »

Best way to learn Python

In this article, we’ll talk about the most efficient way to learn Python. Of course, this article will be really subjective, as it is only based on my personal experience. I’ve started learning Python from it’s 3.4 version. I’ve never actually worked with previous versions, although I coded a little bit just to satisfy my curiosity. Still, the difficulty of ...

Read More »

Python Array Example

Let’s talk about arrays in Python 3.4. Arrays are a way of grouping basic values (characters, integers, floating point numbers), they are sequence types and behave almost like lists, except that all the items in an array must be of the same type. Also, arrays are mutable, ordered and indexed. 1. The Basics You probably know lists in Python, and ...

Read More »

Python Class Example

In this tutorial, we’ll talk about classes. By using Python 3.4, we will talk about what classes are, how do we use them and what can we do with them. Python is an object-oriented programming language, and as such it has a class mechanism. Classes are extensible templates for creating objects, providing initial values for state (variables) and implementation of ...

Read More »

Python Tutorial for Beginners

Let’s talk about Python. If you want to learn Python from scratch, this tutorial will be a good read for you. By using Python 3.4.3 (which you can download here), we’ll see the basics of this awesome language. This tutorial expects you to have some basic knowledge of programming. And knowing any other language will be a big plus. Table ...

Read More »

Python Network Programming Tutorial

In this example we’ll talk about Network Programming with Python. By using Python 3.4 and its powerful socket module, at the end of this example we’ll have a messenger working. First of all, let’s make it very clear. Sockets are behind any kind of network communications done by your computer. We all know that, when you type a url in ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook