Turret Legend Guild Management system------Python interface Access Pgsql

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.