Archives de Catégorie: Python

From DLL to A file using python

I recently got a trouble using python and MinGW under windows, MinGW was not understanding Python basics, and it was making me crying!! Lets do a python module to automate python lib export. This is simply a fun stuff, not

From DLL to A file using python

I recently got a trouble using python and MinGW under windows, MinGW was not understanding Python basics, and it was making me crying!! Lets do a python module to automate python lib export. This is simply a fun stuff, not

Haproxy and Python Tornado: disable Logging

I got a system running Python Tornado behing Haproxy. As Haproxy provide a check-health functionnality, I of course activate it, but it create a simple problem: every 2 seconds (or 1), I got a log entry on tornado side, saying

Haproxy and Python Tornado: disable Logging

I got a system running Python Tornado behing Haproxy. As Haproxy provide a check-health functionnality, I of course activate it, but it create a simple problem: every 2 seconds (or 1), I got a log entry on tornado side, saying

Python Tornado and decorator

I had some time with python Tornado recently. Despite if it’s less cool compare to Java Jersey, it’s based on Python, which means sometimes it’s -really- less boring than Java. Based on this article, we will go threw the basic

Python Tornado and decorator

I had some time with python Tornado recently. Despite if it’s less cool compare to Java Jersey, it’s based on Python, which means sometimes it’s -really- less boring than Java. Based on this article, we will go threw the basic

SockJS on steroids

SockJS is a good alternative to Socket.IO, the main difference between the two is the simplicity level. Socket.IO provide many features while SockJS keep things as simple as possible. In this tutorial, we will create a SockJS version which handles

SockJS on steroids

SockJS is a good alternative to Socket.IO, the main difference between the two is the simplicity level. Socket.IO provide many features while SockJS keep things as simple as possible. In this tutorial, we will create a SockJS version which handles

Python screenshot server

After few search I didn’t find any good way to take a screenshot of an application, except loading this application in a browser and take that damn screenshot. Searching a while, I found python-webkit2png. Actually one of the fastest one,

Python screenshot server

After few search I didn’t find any good way to take a screenshot of an application, except loading this application in a browser and take that damn screenshot. Searching a while, I found python-webkit2png. Actually one of the fastest one,

Python-constraint and sudoku

For people who don’t know what is constraint programming, please read this first. The programming constraint is a fast and good way for solving complex problems, but it comes with some difficulties. I personnaly start with Prolog at school, but

Python-constraint and sudoku

For people who don’t know what is constraint programming, please read this first. The programming constraint is a fast and good way for solving complex problems, but it comes with some difficulties. I personnaly start with Prolog at school, but

Python’s mechanize to login like a user

I use a small python script to automate a user login on a site to retrieve in csv a list of other’s user linked to me. I search a lot how to do it in python, to create a fast

Python’s mechanize to login like a user

I use a small python script to automate a user login on a site to retrieve in csv a list of other’s user linked to me. I search a lot how to do it in python, to create a fast