I'm trying to write a simple Python script for my mobile phone to periodically load a web page using urrlib2. In fact I don't really care about the server response, I'd only like to pass some values ...

I'm trying to write a simple Python script for my mobile phone to periodically load a web page using urrlib2. In fact I don't really care about the server response, I'd only like to pass some values ...

I've successfully installed and configured django-nose with coverage Problem is that if I just run coverage for ./manage.py shell and exit out of that shell - it shows me 37% code coverage. I fully ...

I've successfully installed and configured django-nose with coverage Problem is that if I just run coverage for ./manage.py shell and exit out of that shell - it shows me 37% code coverage. I fully ...

I am planning to use SlopeOne algorithm to predict if a gamer can complete a given level in a Game or not? Here is the scenario: Lots of Gamers play and try to complete 100 levels in the game. Each ...

I am planning to use SlopeOne algorithm to predict if a gamer can complete a given level in a Game or not? Here is the scenario: Lots of Gamers play and try to complete 100 levels in the game. Each ...

I need some way to add a class attribute to the output of the label_tag() method for a forms field. I see that there is the ability to pass in an attrs dictionary and I have tested it in the shell ...

I need some way to add a class attribute to the output of the label_tag() method for a forms field. I see that there is the ability to pass in an attrs dictionary and I have tested it in the shell ...

Suppose I have a generic function f. I want to programmatically create a function f2 that behaves the same as f, but has a customised signature. More detail Given a list l and and dictionary d I ...

Suppose I have a generic function f. I want to programmatically create a function f2 that behaves the same as f, but has a customised signature. More detail Given a list l and and dictionary d I ...

I'm still hacking together a book scanning script, and for now, all I need is to be able to automagically detect a page turn. The book fills up 90% of the screen (I'm using a cruddy webcam for the ...

I'm still hacking together a book scanning script, and for now, all I need is to be able to automagically detect a page turn. The book fills up 90% of the screen (I'm using a cruddy webcam for the ...

class TestSpeedRetrieval(webapp.RequestHandler): """ Test retrieval times of various important records in the BigTable database """ def get(self): commandValidated = True ...

class TestSpeedRetrieval(webapp.RequestHandler): """ Test retrieval times of various important records in the BigTable database """ def get(self): commandValidated = True ...

Edited 12 Feb I've just recently come up with an odd crash using some SWIG-generated Python wrappers for some C++ classes. It seems that the combination of SWIG and Python together are somewhat ...

Edited 12 Feb I've just recently come up with an odd crash using some SWIG-generated Python wrappers for some C++ classes. It seems that the combination of SWIG and Python together are somewhat ...

I'm trying to serialize a list of python objects with JSON (using simplejson) and am getting the error that the object "is not JSON serializable". The class is a simple class having fields that are ...

I'm trying to serialize a list of python objects with JSON (using simplejson) and am getting the error that the object "is not JSON serializable". The class is a simple class having fields that are ...