Archive for the ‘Tutorials’ Category

Disabling Form Input

October 21, 2008Matt No Comments »

Since I don’t have much time today, but I think I should write something for you to enjoy, I’ve decided to explain how to disable the input in a X/HTML form.Disabling the input to a form using XHTML or HTML is actually really easy, but it’s not very well known. All you need is one [...]

read More »

Bookmark a Page With Javascript

June 3, 2008Matt No Comments »

I have been asked a few times how to add a bookmark link within a HTML page, so that people can just click the link and the website will be added to their bookmarks. This is pretty straight forward to do, here is the code you would need: This will create something like this: Bookmark [...]

read More »

Python Tutorial 3 – Integers and Floats

March 24, 2008Matt No Comments »

As you saw in the final section of the previous tutorial on numeric expressions in Python, Fractions, the following two expressions give different answers: So what’s going on here? Well, this is an example of the two main number systems in Python, integers and floats. A float can be distinguished from an integer because it [...]

read More »

Python Tutorial 2 – Numeric Expressions

March 18, 2008Matt 1 Comment »

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 [...]

read More »

Python Tutorial 1 – Getting Python

March 14, 2008Matt 1 Comment »

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 [...]

read More »