Hi all,
This is my first post and I hope I get something useful out of it.
I am new to programming and currently learning python, working on a GUI app to backup PSX games using "cdrdao" as a backend.
The program in its current state works just fine, but I can see lots of drawbacks:
1-The program is bloated and the code looks ugly.
2-No object-oriented programming was used. ( I know it's not necessary)
3-Many noobish habits and techniques were used to solve some problems.
4-The use of some shell commands instead of doing things in a pythonic way.
I want you to help me polish it and teach me how to do it the right way (and help me toss those bad techniques away)
I would also appreciate it if someone could tell me why I would want to do it in OOB, what's the benefits? what's object-oriented programming?(still struggling with this question)
Here's the code:
http://dpaste.com/hold/28221/
Note the use of the global variable avail, I am sure there is a better way, but can't come up with it.
Thanks in advance,
verb3k