Introduction A running program is called a process. Each process has its own system state, which includes memory, lists of open files, a program counter that keeps track of the instruction being executed, and a call stack used to hold the local variables of functions. Normally, a process executes statements one after the other in a single sequence […]

Shares
/ / March 29, 2014 /

What are we going to talk about What is a Context Manager. How to use a Context Manager. How to write your own Context Manager. Few words about contextlib. 1. What is a Context Manager ? Coding is done in blocks, you probably familiar with it already: If something is true – execute this block. […]

Shares
/ / March 21, 2014 /

What is Machine Learning ? Machine learning studies computer algorithms for learning. We might, for instance, be interested in learning to complete a task, or to make accurate predictions, reactions in certain situations, or to behave intelligently. The learning that is being done is always based on some sort of observations or data, such as examples (the […]

Shares
/ / March 17, 2014 /

In this tutorial, I’ll demonstrate how to create vintage (just like Instagram does) photos with Python and ImageMagick. Wait? What? Yes, you can do this very thing with Python and ImageMagick, and that’s just scratching the surface! We Made Digital Vintage Photos, Before it Was Cool Once upon a time – technically 22 years ago – ImageMagick was […]

Shares
/ / February 21, 2014 /

In this tutorial, our goal is to create a Python Library which is a FTP class that is well written, useful, and expandable. Outlining our Objective It’s always important to first outline exactly what functionality your class should include. In our case: connecting to a server create a folder on the server upload a file […]

Shares
/ / February 10, 2014 /

HTTP stands for Hypertext Transfer Protocol. It’s a stateless, application-layer protocol for communicating between distributed systems, and is the foundation of the modern web. As a web developer, we all must have a strong understanding of this protocol. Let’s review this powerful protocol through the lens of a web developer. We’ll tackle the topic in […]

Shares
/ / February 4, 2014 /

Welcome to Python Regimen, where I’m going to teach you the ins and outs of Python development… from scratch. In this first section, we’re going to choose a version, install Python, and then create the obligatory “Hello world” script. If you’re already familiar with Python, feel free to skip ahead to a later sections in the […]

Shares
/ / January 31, 2014 /

In this article, we’re not going to review the basics of source control management, regardless of which one you use. Let’s just assume that you already know how to get around. What we are going to cover is how to use git like a pro. We’ll take a look at some of the advanced features […]

Shares
/ / January 24, 2014 /

I personally asked several top developers the following five simple questions: 1. What’s your primary development focus currently ? 2. What Hardware are you using for your projects ? 3. Which Editor or IDE do you use ? 4. What’s your future plans ? 5. Any Suggestions for Python users ? So i did just […]

Shares
/ / January 18, 2014 /

From time to time, servers and databases are stolen or compromised. With this in mind, it is important to ensure that some crucial user data, such as passwords, can not be recovered. Today, we are going to learn the basics behind hashing and what it takes to protect passwords in your web applications. Disclaimer Cryptology […]

Shares
/ / January 15, 2014 /
1 of 3123