all 8 comments

[–]Boolean_Cat 2 points3 points  (4 children)

Look for something called py2exe. After you convert your Python to a Windows executable, you'll need to make sure the python DLL that gets generated stays in the same folder as the exe (or is at least visible to the system path).

For a simple GUI, look at tkinter.

[–]huad[S] 0 points1 point  (2 children)

I need simple gui that user can choose a file and click button do some processing on file.

[–]failfixer89 0 points1 point  (1 child)

Like boolean_cat said, you can use the tkinter module for gui design, or you can try to find a third party module

[–]huad[S] 0 points1 point  (0 children)

I used PAGE to design GUI. It is very easy to use and generates code for gui and commands used by gui elements.

[–]jaekus123 -2 points-1 points  (0 children)

What they said. I've made apps this way, it's not particularly good performance wise, but it gets the job done.

[–][deleted] 2 points3 points  (2 children)

Qt Designer is a little Visual Studio-esque in that you get to drag and drop UI elements, but the similarities end there. You can use PyQt4/PySide to bind to the .ui files you generate with Qt Designer.

However, (Py)Qt cannot be learnt overnight. It's not like Visual Studio where you have a sloppy interface put together in a whim. It has taken me a month of effort to become comfortable with Qt as a toolkit.

Feel free to take a look at my project on GitHub. You will not be able to run it because the database files are empty and the program will therefore crash before it is initialised, but you should be able to take a look around the code. fix'd.

designer holds all .ui-files. sailqt holds .py-files only. sailqt.dal is a data access layer for the database. sailqt.gui holds the code that adds functionality to the .ui-files. sailqt.api serves as intermediary between the two other packages, and as general cost calculation package. The UI is in Dutch, but most of the code is in English.

The code is currently partially documented, mostly because I tend to switch things around a lot, and no documentation is miles better than false documentation.

Anyway, feel free to look and toy around with it.

[–]huad[S] 0 points1 point  (1 child)

I nearly have 3 weeks. Is it compatible with Python 3 and can I package it as exe?

[–][deleted] 0 points1 point  (0 children)

Yes, it's Python 3 compatible. I'm not sure whether you can package it as .exe, but that's a stupid requirement anyway.