Page 39 - Phyton_GUIprogrammingwithTkinter
P. 39

P a ge  | 30















                        iv.   Open your Python IDLE Shell.
                         v.   Click File -> New File or Click Ctrl + N









                        vi.   Then, type the code as the following.



                                                                                           Make sure your
                                                                                            username and

                                                                                         password are based
                                                                                        on your MySQL server
                                                                                               setting.





                       vii.   Save the file as dbconnector.py.
                       viii.   Click Run  Run Module to compile the code.
   34   35   36   37   38   39   40   41   42   43   44