Home » Archives for Sebastian Vinci

Author Archives: Sebastian Vinci

Sebastian is a full stack programmer, who has strong experience in Java and Scala enterprise web applications. He is currently studying Computers Science in UBA (University of Buenos Aires) and working a full time job at a .com company as a Semi-Senior developer, involving architectural design, implementation and monitoring. He also worked in automating processes (such as data base backups, building, deploying and monitoring applications).

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 »

Python Send Email Example

In this example, by using Python 3.4, we’ll learn how to send mails using Python’s smtplib module. SMTP stands for Simple Mail Transfer Protocol. It’s a protocol which handles sending e-mails and routing them between mail servers. To send a mail, we need the host and port of a server, then we send to this server the message with a ...

Read More »

Python Subprocess Example

In this article, using Python 3.4, we’ll learn about Python’s subprocess module, which provides a high-level interface to interact with external commands. This module is intended to be a replacement to the old os.system and such modules. It provides all of the functionality of the other modules and functions it replaces. The API is consistent for all uses, and operations ...

Read More »

Python Map Example

In this tutorial, by using python 3.4, we’ll talk about map functions. Strictly speaking, a map function, is a function that accepts a function and an array as arguments, and applies the given function to each element of the array, returning another array with the result of each transformation. So, in other words, a map applies a transformation to each ...

Read More »

Python Sockets Example

In this tutorial, we’ll talk about INET, STREAM sockets. We’ll talk about what sockets are, and learn how to work with blocking and non-blocking sockets. First things first, we’ll make a distinction between a “client” socket (endpoint of a conversation), and a “server” socket (switchboard operator). Your client (e.g. your browser) uses only client sockets, and your server uses both ...

Read More »