Jaime Villela

Jaime Villela

Gamification for Developing Skills

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

Python Tips: Adding Numeric Lists

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

Python Tips: What's The `__main__` Idea?

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?

Python Tips: What The #! Is This?

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