isaacj87
May 1st, 2008, 11:33 PM
Hey all,
I'm a noob when it comes to programming (I'm actually a nursing student!), but I've taken it upon myself to learn how to code and contribute something back to the open-source world! I have this script that I use to aid me in compiling Compiz Fusion from GIT. It happens to be written in python. I'm trying to make a GUI for the script because I'm tried of looking at the terminal when using the script. I've already started, but I need some advice/assistance. Plus, I want to know how to code properly. I know that copy and paste is generally a "No No" in the programming world and you should always try to reuse as much code as possible.
The script basically presents the user with options and asks for the user input (numberical values in this case). I wish to have the GUI cover for that.
Here's the script and my gui code (what little I have). If anybody could lead me in the right direction, I would be most appreciate!
Here's my GUI code:
http://pastebin.com/m1641559b
and the script:
http://pastebin.com/m28e50a11
For those who know of the script, I realize I'm using an older version of it. I've actually made corrections to the script so that it functions *properly* (i.e. Show if updates are actually available). The image path in the GUI code is also hardcoded and that will change obviously.
and for kicks I've included a shot of the GUI
I'm a noob when it comes to programming (I'm actually a nursing student!), but I've taken it upon myself to learn how to code and contribute something back to the open-source world! I have this script that I use to aid me in compiling Compiz Fusion from GIT. It happens to be written in python. I'm trying to make a GUI for the script because I'm tried of looking at the terminal when using the script. I've already started, but I need some advice/assistance. Plus, I want to know how to code properly. I know that copy and paste is generally a "No No" in the programming world and you should always try to reuse as much code as possible.
The script basically presents the user with options and asks for the user input (numberical values in this case). I wish to have the GUI cover for that.
Here's the script and my gui code (what little I have). If anybody could lead me in the right direction, I would be most appreciate!
Here's my GUI code:
http://pastebin.com/m1641559b
and the script:
http://pastebin.com/m28e50a11
For those who know of the script, I realize I'm using an older version of it. I've actually made corrections to the script so that it functions *properly* (i.e. Show if updates are actually available). The image path in the GUI code is also hardcoded and that will change obviously.
and for kicks I've included a shot of the GUI