Very Frustrating

This is partly the reason I started this blog. I am having a hard time getting classes to work. At all. I haven’t found a single. NOT ONE SINGLE resource that adequately explains how to actually create a working class, for beginners. Even my book hasn’t helped! When this happened with AppleScript, I would just keep my head down and power through until I’d managed to hammer it into shape, but it’s just not...

Read More

#simple_address_book_v2

AArrgh! That’s what I say. I’ve been working on the address book programme today (had to take a break from Arrested Development, I like it, it’s just . . . more . . . different to what I was expecting). Anyway, I’ve been giving the old object orientation a good go over today, and I think I’m starting to get it, I wrote this bit today in one fell swoop of the keyboard: if ans[0].lower() == 'n': and...

Read More

Success! (sort of)

And here it is, it only took me 7 hours. (stop laughing!) It is finally here, my first Python project. The fact that it only works once before it resets itself is by-the-by. I have made it! I had a lot of problems, but the main one was making dictionary additions persistent. I read up on a module called shelves that seemed like it would be the perfect thing, but could I get it to work, of course not! So after that I tried just a basic...

Read More

Exactly Why

This is exactly why I started this site. I’m currently working on this first project of mine, and I find myself stuck with dictionaries. I know what I want to do–check to see if a key is in the dictionary–but I don’t know how to do it. I know how to call a key and get its value, but I can’t work out how to first check to see if the key is in the dictionary in the first place, and then if it is, get the value relating...

Read More

Object Orientation

So the last thing my Python book got into was Object Orientation, which scared me. Considerably. Objet orientation is not something I have ever had to deal with before, and it isn’t exactly . . . straightforward. To the lay person, such as I, object orientation means the orientation, and the manipulation, of objects you can see. But that is wrong. From what I understand, objects aren’t GUI-like things, but instead are...

Read More
Prove it!
May24

Prove it!

It seems fair that you might wonder whether or not I have what it takes to, not only teach myself Python, but also not give up halfway through. To such a request I would say this: “I taught myself AppleScript through mainly trial and (normally considerable) error. In the end I came up with what I called Bootle26. I described it as a security application, but it was more like a . . . internet nanny/taddler application. It cross...

Read More