There is not much time today, only a part of it can be written.
Python Connection Pgsql Library has three, the current psycopg2 used more, then downloaded installed. There is no difficulty, but it can be used with reference to an example.
The graphical interface uses WX's library because it has a fairly handy graphical tool----wxformbuilder.
With this, you can straightforward to design your graphical interface. Really is the realization of the interface and function of the separation, the design of the person's mind is very good.
The way to do this is to draw the interface (write the name of the callback function for each event at the same time) and save the generated Python code (which can actually generate multiple languages) into a separate py file.
Write a new master file to inherit the frame class that you just generated. Write a function function that needs to be implemented, and the function name is the same as the name you previously filled in the interface.
Feel:
1. You don't have to pay much attention to what each control is called.
2. When the interface changes, you can quickly complete the changes, and do not need to move the relevant function code files.
To be added:
For ease of use, several keyboard response events have been added.
Easy-to-play list that matches the name that appears in the drop-down box, using a certain sort when select
Fixed a bug, learned the database of the left Outer connection and internal connection operation.
Python2. In some places, there are coding problems when processing Chinese, learning the origin of Utf-8 and Unicode encoding.
Python source code, need to tidy up, gaining readability.
Turret Legend Guild Management system------Python interface Access Pgsql