Pair programming - with UI math learning software title

First, the functions to be achieved:

  1, user registration function. The user's phone number, click on the registration will receive a registration code, the user can use this registration code to complete the registration;

  2, after the completion of user registration, password prompt interface, user input password matches the password twice after the success. 6-10 password, the case must contain letters and numbers. Users can change the password, enter the correct password in the log in the original state, change your password after successfully re-enter the same new password twice;

  3, after the password has been set, jump to the selection interface, display interface elementary, middle and high school three options, the user clicks on one of them, prompting the user to enter the number of items need to be generated;

  4, the number of items the user input, generating a piece of paper (with a roll can not have the same title, all entitled multiple choice), the interface displays the first question and casual working four options, the user selects one of the four options submission interface displays the second question, ... until the last question;

  5, after the submission of the last question, the display interface, the score is calculated based on the percentage of correct answers;

  6, the user interface can opt out of the score or continue to do problems;

  7, small high math problem and asked to see the beginning of a personal project.

Second, the project implementation process:

  flow chart:

    

  

 

    I am responsible for the part of front-end design and messaging services, casual working initially generated using my code, bug found later transferred to the problems generated topic, then uses a teammate project code.

    As long as the interface is implemented by tkinter design. First contact use tkinter, do the rough, no further beautify the interface. Later discovered qt designer visual design interface, interface design can reduce a lot of time, do not knock the code line by line. And qt designer landscaping interface is easy to implement.

    When designing the interface, to make the first window to spend more time, the error is greater, then familiar with much faster. The first stage is to complete the respective interface, which will be the second stage is to contact the respective interface, such as an arrow pointing in the direction of a flow chart. At this stage, under the guidance of his teammates stumbled complete.

    To save the account information is stored in the Excel file, the user will successfully registered the account information stored in Excel files, the next can log in directly.

    SMS service function by means of requests python library, send a request to the site, with Tencent cloud messaging services. Website is a roommate to write their own website, which sends a request to Tencent cloud, then SMS verification code will be sent to the phone, randomly generated six-digit verification code from the program, CAPTCHA Code and backup program entered when registering compare the same is registered, not the same error code prompt.

    

  debug process:

    Functional testing of short message service, SMS verification code sent continuously found to be wrong, then it increased every 60 seconds to re-send the verification code set.

   Generation of the test subject, the subject found that some operators appear continuously improve the code later solved this bug.

   Found not to click the "Get License" button, the registration code text box is empty, click on the Register button can be registered, and later repaired.

   Enter the number of topics can be negative or 0, and later repair

Third, the summary:

  Experienced pyqt5 more practical this pair after the program, their programming skills improved a lot with the help of his teammates, learned to use tkinter design interface, as well as various components of the underlying function implementation, and later taught himself programming interface pyqt5, more than tkinter , made out of interface more in line with the aesthetic needs. Appreciate the strong teamwork, everyone clear division of labor, doing more with less. The next team on the project to gain experience. At the same time, also thank my teammates, learned a lot in his help and encouragement, I will have to explain the problem.

  

 

Guess you like

Origin www.cnblogs.com/ling1527/p/11605513.html