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

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

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

  • @michreano
    @michreano 4 дня назад

    really, educative. learning alot from this.🤟

  • @fikremariamobsa
    @fikremariamobsa День назад

    It is very help full tutorial thank you very much from Ethiopia

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

    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.

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

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

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

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

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

      Welcome.. hope you are learning

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

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

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

      Great all the best.

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

    Good Teacher
    I really like the way you teach

  • @MaribelBarte-q5e
    @MaribelBarte-q5e 29 дней назад

    Thanks you so much Sir!! your sos sososso very helpfull!!!!

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

    I have learn alot from this video Thanks

  • @JaydeepSolanki-uh5vj
    @JaydeepSolanki-uh5vj 25 дней назад +1

    2:00:22 succefully done ❤

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

    Hello. I have noticed a problem when data is tracing back from db to interface. leading zeros have been removed at the interface by our code even though db still shows data with leading zero which is stored as VARCHAR. as an example: password "01234" stored in db is showed as "1234" at password entry field. thank you.

  • @AbdulaiMoro-td3xm
    @AbdulaiMoro-td3xm 4 месяца назад +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  4 месяца назад +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 3 месяца назад

      @@codinglifestyle4u yes it works 👍

    • @faizan_khan660
      @faizan_khan660 3 месяца назад +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')

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

    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 3 месяца назад

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

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

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

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

      Check MySQL installation and uninstallation videos in my channel

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

    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  3 месяца назад

      Send me the error pic on instagram coding_lifestyle_4u

  • @7ama-3umer
    @7ama-3umer 6 дней назад

    Thank you brother i learn from you more than my fucking colege😂😂

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

    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 3 месяца назад

    Brother, can i use sqlite 3

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

    Sir cannot import name employee_form from employees

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

      You have to write like this -
      import employee_form from employees

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

    Now, how to do own tkinter in python

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

      I didn't get you please elaborate?

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

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

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

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

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

      @@codinglifestyle4u thank you! 🙂

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

    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 4 месяца назад

      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  4 месяца назад

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

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

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

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

      Great 👍

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

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

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

      Please recheck the code you must be making mistake

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

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