ImportError: No module named virtualenv?

I am using Django 1.3.7 and python 2.7.6 on windows7 I got an error when I executing my manage.py in this line of co...

ImportError: No module named virtualenv?

I am using Django 1.3.7 and python 2.7.6 on windows7 I got an error when I executing my manage.py in this line of co...

Counting the White dots in a Black background?

After preprocessing a fabric image, I got an output with white dots as follows: Dot Map The aim is to output two...

2d matrix to image of a cone?

I have a 2D numpy matrix of size 512x256. I can easily convert it to an image using PIL, or scipy, etc. but that giv...

How to print é as '%C3%A9' in Python 2.7?

I want to convert 'é' to %C3%A9 for URI request. My code is like this: import urllib actor = "Bonnie Erbé" I ...

3D discrete heatmap in matplotlib?

I have a list of tuples in python containing 3-dimenstional data, where each tuple is in the form: (x, y, z, data_va...

How to create a 3d Heatmap from a discrete data set in Python??

I have a large dataset of the form [(X1, Y1, Z1, VALUE1), (X2, Y2, Z2, VALUE2)...]. The geometry of the points is th...

Generating all unique combinations for “drive ya nuts” puzzle?

A while back I wrote a simple python program to brute-force the single solution for the drive ya nuts puzzle. (sou...

Scikit-image: how to reduce broken line segments, overlapping lines??

I'm currently working on a project to find straight lines and the length of these lines in an image that looks like ...

Omit joining lines in matplotlib plot e.g. y = tan(x)?

I have the graph y = tan(x) and I want to remove the vertical lines (see below). Here is my code: import numpy as ...

Graphing tan in matplotlib?

I have the following code: from mpl_toolkits.axes_grid.axislines import SubplotZero from matplotlib.transforms impo...

Mean Squared Error in Numpy??

Is there a method in numpy for calculating the Mean Squared Error between two matrices? I've tried searching but fo...

Mean Squared Error in Numpy??

Is there a method in numpy for calculating the Mean Squared Error between two matrices? I've tried searching but fo...

How to make a 4d plot with matplotlib using arbitrary data?

This question is related to this one. What I would like to know is how to apply the suggested solution to a bunch o...

Why if i extract image jpg from pdf with wand, it turn me a black background over the text?

I have a problem with some pdf files. I need to convert them into jpg images making them available for the OCR, but ...