WX Glade

I need to build a simple application that compares two files. I know how to write the comparison logic.

I am in the process of developing a GUI to browse the two files- so basically two buttons and clicking them would enable me to browse the directories and get the appropriate files.

I have installed wx glade ...but I am not sure how much can wxglade do...is it useful to just create the buttons and would I then need to use wxpython to actually do the file browsing part??...or is there a nice easy way using wxglade to do all of this??

Please let me know if you know the answers to the above questions.

Thanks in advance!






manadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ramromconsultant Commented:
AFAIK wxglade andr wxpython specialize in UIs, and the rest of the work must be done in Python.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cjjcliffordCommented:
just noticed, in Python 2.4 there is a new "difflib" module - quote below taken from http://www.python.org/2.4/highlights.html

"The difflib module now includes an HtmlDiff class that creates an HTML table showing a side by side comparison of two versions of a text."

I haven't installed 2.4 yet, but on the surface this looks like it could be very useful for your application...
0
Rapture595Commented:
wxGlade is very useful for creating the gui, but after having used it for the past week for a school project, there are some things that you should probably know.

1) It is a new program, and thus a little buggy. Save early, and save often. I have learned this lesson several times over. It especially likes to crash if you accidentally name a widget with the same name as another widget in your program. Note that it does not matter if that widget is in another window, you can only have one widget with one name in your whole program.

2) In the generated code, there are parts blocked off by a begin wxGlade comment and an end wxGlade comment. Do not touch the code in there, because if you ever re-generate your code, it will overwrite it.

As for code, you will have to write all the handlers and actual functionality of the code in Python in between the gui code generated by wxGlade. If you need any help with that, let me know. It takes a little while to get used to, but is great once you get the hang of it. Hope this helps.
0
WhaleCommented:
I have try Wx and I was bored with it's limitation, now I use Gtk :)
well I still have done nothing but it's the road I will take
0
DariuzkCommented:
You can use pyQt and Qt Designer, they are nore powerfull than wx and wxGlade
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Python

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.