Python Pedia is one stop solution for Python Programming Resources. The Resources are categorized according to the Application of Language. It's all about Python.
pyparallel - Experimental multicore fork of Python 3
Il y a quelques jours, un ami m'a demandé de jeter un oeil à un problème qu'il recontrait: alors qu'il analysait des données de donneespubliques.meteofrance.fr dans un IPython notebook, en utilisant la fantastique lib requests, il a été confronté à un bug étrange:
Mon soucis c'est que ma …
Buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based. It lets you create a buildout configuration and reproduce the same software later. -buildout.org I've documented the steps required to create a simple buildout based project. Start by creating a project directory and initialise…
Depuis plusieurs années, je ruminais contre Youtube: chaque fois qu'une vidéo est supprimée d'une playlist (parce que l'utilisateur qui l'avait uploadé l'a supprimé par exemple), son nom n'est même pas conservé, seul un lien mort persiste dans la liste.
Et la seule solution est alors de googler le nom de …
Python 3.5 is coming up soon with async and await built-in keywords. Let's get excited with a couple of simple examples showing off how to use this new syntax.
Depuis mai 2015, Python 3.4 est disponoble sous Cygwin.
Si vous aviez précédement installé Python 3.2, voici comment passer à la version 3.4.
Tout d'abord, je vous recommande l'excellent gestionnaire de package apt-cyg. C'est tout simplement une interface en ligne de commande équivalente au setup-x86.exe
(ou …
The timeit
module is useful for micro benchmarks, but does not allow to measure execution time of large snippets, as it requires the code tested to fit in a string.
Hence, I went looking for a context or decorator-based solution. And I found this bug report commented by Guido van …
crashreporter - Store and send crash reports directly to the devlopers
python-sdk - Facebook Platform Python SDK
Pourquoi, mais pourquoi faut-il 3 lignes en Java pour juste extraire un groupe d'une expression régulière qui "match" ???
Matcher matcher = Pattern.compile("o?k(b|i)s+").matcher("kiss");
matcher.matches();
assert matcher.group(1) == "i";
En Python:
assert re.match("o?k(b|i)s+", "kiss").group(1) == "i …
list-of-python-api-wrappers - List of Python API Wrappers and Libraries
I'd like to introduce you to an awesome git companion : pre-commit
hooks by Yelp.
Git hooks are scripts that git
executes before or after events such as: commit, push, and receive.
Git hooks are a built-in feature, but git
does not offer much support for them: if there is a …
Disclaimer I am the creator and main developer of Brython. I am aware that this makes me suspect of partiality ! The test conditions are explained in detail below so that anyone can easily reproduce them and compare with the results presented here ; if something is wrong please post a comment and I will…
My name is Stephan, and I'm a scientist on the Climatology team at The Climate Corporation. We make extensive use of Python to build statistical weather models, and sometimes we need our code to be fast. Here's how I choose between Numba and Cython, two of the best options for accelerating numeric Python code. Most…