3. Inventory Management System with Python Tkinter & MySQL: Database Integration & CRUD Operations

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 43

  • @soumahorosoualiho5825
    @soumahorosoualiho5825 2 месяца назад

    Great. This time, it is dosed. Many handlings. Every Day, we learn a little more. Thanks so much

  • @HenrySuikaM
    @HenrySuikaM Месяц назад

    You're a wonderful teacher and I have learnt a lot from you, a big thank you. I was able to follow through while implementing all the steps using MS SQL Server Express.

  • @AbdulaiMoro-td3xm
    @AbdulaiMoro-td3xm 3 месяца назад

    Good Teacher
    I really like the way you teach

  • @The.Ride.Report
    @The.Ride.Report 2 месяца назад

    I have learn alot from this video Thanks

  • @freesoftwares6042
    @freesoftwares6042 3 месяца назад

    just finished he second part , time to start this one , thanks for sharing

    • @codinglifestyle4u
      @codinglifestyle4u  3 месяца назад +1

      Welcome.. hope you are learning

    • @freesoftwares6042
      @freesoftwares6042 3 месяца назад

      @@codinglifestyle4u yessir i am pausing , trying on my own , and then correcting with the video

    • @codinglifestyle4u
      @codinglifestyle4u  3 месяца назад

      Great all the best.

  • @Useme-e9s
    @Useme-e9s Месяц назад

    hi sir can you please tell about mysql installation and setup ive used mssql and workbench only

    • @codinglifestyle4u
      @codinglifestyle4u  Месяц назад

      Check MySQL installation and uninstallation videos in my channel

  • @soumahorosoualiho5825
    @soumahorosoualiho5825 Месяц назад

    Hi Coach. Thank you for all. I noticed that when we select a row to be updated, only one item can be updated. It's not possible to update many items at the same time. This is due to the fact that the row is selected. Can you see this issue?

    • @soumahorosoualiho5825
      @soumahorosoualiho5825 Месяц назад

      This is possible in case the row is not selected. How to resolve the problem

  • @AbdulaiMoro-td3xm
    @AbdulaiMoro-td3xm 2 месяца назад +1

    Mr Faizan you did not explain why you did not add 'EDUCATION ' to the database but it appears in the mysql database

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад +1

      I included the education as well, but since it's positioned on the right-hand side, so its not visible. However, you can add it to your database table.

    • @AbdulaiMoro-td3xm
      @AbdulaiMoro-td3xm 2 месяца назад

      @@codinglifestyle4u yes it works 👍

    • @faizan_khan660
      @faizan_khan660 2 месяца назад +1

      It’s there on the right side, but you might not see it! 😄
      If you missed it and already created the table without the education column, just add this code after the CREATE TABLE line:
      cursor.execute('ALTER TABLE employee_data
      ADD COLUMN education VARCHAR(100) AFTER employment_type')

  • @autarroy
    @autarroy 2 месяца назад

    Brother, can i use sqlite 3

  • @wissembabaami5389
    @wissembabaami5389 2 дня назад

    hi please i cant insert into table i dont know why :
    File "c:\Users\wiwy\Desktop\mon 2eme projet\employer.py", line 46, in valide_employer
    cursor.execute('INSERT INTO employers VALUES(%s)',(empid))
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\cursors.py", line 153, in execute
    result = self._query(query)
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\cursors.py", line 322, in _query
    conn.query(q)
    ~~~~~~~~~~^^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\connections.py", line 563, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\connections.py", line 825, in _read_query_result
    result.read()
    ~~~~~~~~~~~^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\connections.py", line 1199, in read
    first_packet = self.connection._read_packet()
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\connections.py", line 775, in _read_packet
    packet.raise_for_error()
    ~~~~~~~~~~~~~~~~~~~~~~^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
    File "C:\Users\wiwy\AppData\Local\Programs\Python\Python313\Lib\site-packages\pymysql\err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
    pymysql.err.OperationalError: (1136, "Column count doesn't match value count at row 1")
    PS C:\Users\wiwy\Desktop\mon 2eme projet>

  • @autarroy
    @autarroy 2 месяца назад

    brother, if i am clicking on the command to see the database is not showing me the employee_data. What is going wrong.
    How i can use mysql or how i can download it

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад

      Send me the error pic on instagram coding_lifestyle_4u

  • @Secondbrain6687
    @Secondbrain6687 Месяц назад

    Sir cannot import name employee_form from employees

    • @codinglifestyle4u
      @codinglifestyle4u  Месяц назад

      You have to write like this -
      import employee_form from employees

  • @DragonDread2009
    @DragonDread2009 2 месяца назад

    Now, how to do own tkinter in python

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад

      I didn't get you please elaborate?

    • @DragonDread2009
      @DragonDread2009 2 месяца назад

      @@codinglifestyle4u I might Said it wrong, I mean't own graphical interface 👍

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад

      You will be able to create your own gui after learning one or two projects

    • @DragonDread2009
      @DragonDread2009 2 месяца назад

      @@codinglifestyle4u thank you! 🙂

  • @freesoftwares6042
    @freesoftwares6042 2 месяца назад

    i think i found a bug ,anyways , if you click on the employee button WHILE you are in that page already , the back button wont work anymore

    • @freesoftwares6042
      @freesoftwares6042 2 месяца назад

      i might add , a discord community or something similar for viewers , we can help eachothers and such , i bet it will be very active

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад

      Yes I am aware of that issue I will fix it in upcoming tutorials

    • @freesoftwares6042
      @freesoftwares6042 2 месяца назад

      @@codinglifestyle4u update , i just finished this part , to the next one

    • @codinglifestyle4u
      @codinglifestyle4u  2 месяца назад +1

      Great 👍

  • @ahmedjawad4986
    @ahmedjawad4986 13 дней назад

    cursor.execute('CREATE DATABASE IF NOT EXISTS inventory_system')
    ^^^^^^
    NameError: name 'cursor' is not defined

    • @codinglifestyle4u
      @codinglifestyle4u  13 дней назад

      Please recheck the code you must be making mistake

    • @ahmedjawad4986
      @ahmedjawad4986 12 дней назад

      @@codinglifestyle4u ok sir. thank you. i will recheck