I recently read Gamify: how gamification motivates people to do extraordinary things by Brian Burke. I was intrigued by the idea that you could use game mechanics to motivate people to achieve their
Be default, Python does not include a method to add two numeric lists. If you have two lists and you use the + operator on them, it actually concatenates them. So if you write
From time to time you will see some Python scripts that have a section that looks like this:
if __name__ == '__main__':
# do something here
What the shebang does all that mean?
As you start to look at other Python scripts, you will likely see a line like this at the very top:
#!/usr/bin/python
At first glance, you may think this is a