May 23, 2008Matt
It’s been a while since I’ve written anything for this blog, the past couple of weeks have been absolutely hectic.
So what have I been up to?
Fixed a problematic client website that had a lot more problems than expected.
20 hours worth of maintenance on another client website.
Created the art for my business cards and setup the [...]
read More »
March 24, 2008Matt
As you saw in the final section of the previous tutorial on numeric expressions in Python, Fractions, the following two expressions give different answers:
18.0 / 7.0
# This returns 2.571485714285716
18 / 7
# This returns 2
So what’s going on here? Well, this is an example of the two main number systems in Python, integers and floats.
A float [...]
read More »
March 18, 2008Matt
Python’s interpreter can be used as a calculator quite easily. Of course, this is somewhat pointless since there are calculators built into most operating systems anyway. However, the numeric expressions that are built into Python become quite useful in general applications and are important to know.
Before you can start learning Python, you will need to [...]
read More »
March 14, 2008Matt
Python object-oriented programming language at uni in ITB001: Problem Solving and Programming, I figure what better way to solidify what I am learning than to write about it. Someone might find it useful as well.
So if you see anything that is wrong, or anything like that, feel free to point it out, I won’t bite.
First [...]
read More »