Awesome Python Tutorials
Double-Duty Recursive Functions in Python
Functional programming encourages the use of recursive functions in order to tackle bigger problems, allowing you to avoid mutable state and express the problem as small problems. One of the most popular example of recursive functions is the factorial function, which can be written in python as follows...
scripting with Python and AutoHotkey
After I began programming, I started noticing that some of the things I was doing on my computer at home were repetitive and could be automated to save time and effort. I discovered that certain scripting languages could help me fill that need in my day-to-day tasks – Python and AutoHotkey are two languages that I have found helpful.
The Genius of Python’s Self
When I first started learning python and read about how they do class methods, I was a bit thrown off. To be an object-level method (rather than class-level, like Java static methods), the first parameter needed to be self.
Python Tutorial: Strings Datatype
Data stored in memory can of different types and Python like other languages have different standard data types. Sometime back we did a post on. Python Numbers. Today we will be covering other standard datatypes i.e. Strings. Like other languages, python also has the same meaning/definition for Strings.
Python: Streaming/Appending to a file
I’ve been playing around with Twitter’s API (via the tweepy library) and due to the rate limiting it imposes I wanted to stream results to a CSV file rather than waiting until my whole program had finished. I wrote the following program to simulate what I was trying to do...
Till the next time, enjoy...!!