What are the differences between a Service, Provider and Factory in AngularJS?
In Python, how can I parse a numeric string like "545.2222" to its corresponding float value, 545.2222? Or par
How do you change the size of figure drawn with Matplotlib?
pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a bett
How can I raise an exception in Python so that it can later be caught via an except block?
In the following method definitions, what does the * and ** do for param2? def foo(param1, *param2): def bar(
How do I concatenate two lists in Python? Example: listone = [1, 2, 3] listtwo = [4, 5, 6] Expected outcom
Is it possible to add a key to a Python dictionary after it has been created? It doesn't seem to have an
I know that I can do: try: # do something that may fail except: # do this if ANYTHING goes wrong I
I am a bit puzzled by the following code: d = {'x': 1, 'y': 2, 'z': 3} for key
Is there a shortcut to make a simple list out of a list of lists in Python? I can do it in a for loop, but is
What is the most elegant way to check if the directory a file is going to be written to exists, and if not, cr
I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, m
If Python does not have a ternary conditional operator, is it possible to simulate one using other language co
Given the following code, what does the if __name__ == "__main__": do? # Threading example import time, threa
Here's my situation. I have followed the exact instructions on wordpress codex page about moving a site t
TL;DR: Is Sticky actually able to react to changes I give through JavaScript? If so, how? (The project is usi