3388 shaares
582 results
tagged
programming
nice comparison; finally it's a matter of taste and of python vs. ruby.
use str.partition() instead of str.split()[0]
I’ve written a couple of things recently talking about useful things to be aware of when you’re putting together the URL configuration for a Django application — one covering a pitfall you should watch out for with regular expressions and one touching on the utility of the “url” tag and the “permalink” decorator, and the “reverse” utility — but you can never have too much useful information about URL configuration, because for a lot of ...
Read full entry and comments