How to Create a Calculator using Python in Visual Studio Code

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

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

  • @momsmagic3579
    @momsmagic3579 5 дней назад

    Very nice
    Great ful to me
    Tysm

  • @twinbullets1868
    @twinbullets1868 3 года назад +2

    Amazing work. Wish you a great success.. keep mentoring.

    • @DJOamen
      @DJOamen  3 года назад

      Thank you! You too!

  • @MANYAKAUR-gt6ev
    @MANYAKAUR-gt6ev Год назад +1

    osm bro but can u teach me on online ( zoom)classes pls request

    • @DJOamen
      @DJOamen  Год назад

      You can still learn from the video tutorial, because, that will cost you a lot of money.

  • @saanvibhatia8711
    @saanvibhatia8711 3 года назад +1

    sir what is the app which you are using to view the code?
    Please tell

    • @DJOamen
      @DJOamen  3 года назад

      Is called Visual Studio Code
      code.visualstudio.com/
      Subscribe to the channel. Thanks

    • @saanvibhatia8711
      @saanvibhatia8711 3 года назад

      @@DJOamen sir from where you are viewing the output as when I am running it then chrome is opening and showing that this site can't be reached

  • @mr_banx
    @mr_banx 3 года назад

    Congrats on 100k Subs!! well done

    • @DJOamen
      @DJOamen  3 года назад

      Thank you so much 😀

  • @r0ses4u
    @r0ses4u 3 года назад +1

    Amazing work

    • @DJOamen
      @DJOamen  3 года назад

      Thank you! Cheers!

  • @cookie-in6ls
    @cookie-in6ls 3 года назад

    King of Kingzzzxx

    • @DJOamen
      @DJOamen  3 года назад

      Yman, what's up. Along time

    • @cookie-in6ls
      @cookie-in6ls 3 года назад

      @@DJOamen How are U sir ? We didn’t get to have a reunion because of Covid missed U a lot sir. Also need to do my UCAS application and Go Uni this year

    • @DJOamen
      @DJOamen  3 года назад

      Yes, the lock down, due to covid. Well is good to know that you are going to university now, and why is the UCAS form taken that long?

    • @cookie-in6ls
      @cookie-in6ls 3 года назад

      @@DJOamen I think I need to do a new application for this year right ? I finished it last year but now it’s saying that I am not registered so idk I think I need to start it again😞

    • @DJOamen
      @DJOamen  3 года назад

      Okay, go for it, before is too late. Good luck

  • @opeoluwadigbaidowu1352
    @opeoluwadigbaidowu1352 2 года назад

    Having a problem with the __init___(self) function, any fixes?

    • @DJOamen
      @DJOamen  2 года назад

      Idowu, carefully watch the video tutorial

  • @idkWhatToType0
    @idkWhatToType0 3 года назад +1

    bro help me out plzzzzz AttributeError: 'Calculator' object has no attribute 'valid_function

    • @DJOamen
      @DJOamen  3 года назад

      Check 35:25 minute into the tutorial. Is meant to be a function definition. Watch the video tutorial carefully. See correction below
      def valid_function(self):
      if self.op == "add"

  • @goldenmorning4436
    @goldenmorning4436 3 года назад

    Sir, Please Create Video Tutorial "Hotel Management System with Hotel Room Status" in ms access.

  • @idkWhatToType0
    @idkWhatToType0 3 года назад +2

    AttributeError: 'Calculator' object has no attribute 'check_sum'

    • @DJOamen
      @DJOamen  3 года назад +2

      Check 18 minutes into the video tutorial. It's meant to be: self.check_sum
      Always check your code

  • @ShubhamSharma-so6lb
    @ShubhamSharma-so6lb 4 месяца назад

    Add,sub,multi,division buttons are bot working properly 😢

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

      Careflly watch the video tutorial

  • @b-suicojozefazriel9721
    @b-suicojozefazriel9721 3 года назад

    sir there is AttributeError: 'Calculator' object has no attribute 'cos' pls help me

    • @DJOamen
      @DJOamen  3 года назад

      There is no attribute 'cos' in my video tutorial, check your code

  • @Joshbeatsug
    @Joshbeatsug Год назад

    my computer failed to the runing part

  • @noflick
    @noflick 3 года назад

    Can you please put the entire code in the description or reply to me with it?

    • @DJOamen
      @DJOamen  3 года назад

      Check description

    • @noflick
      @noflick 3 года назад

      @@DJOamen thank you!

  • @divyagb5516
    @divyagb5516 Год назад

    AttributionError: 'Calculator' object has no attribute 'display'

    • @DJOamen
      @DJOamen  Год назад

      You must create a function called display. See the function below. Good luck
      def display(self,value):
      entDisplay.delete(0, END)
      entDisplay.insert(0, value)

  • @Tina-l3v
    @Tina-l3v Год назад

    I want to learn Python

    • @DJOamen
      @DJOamen  Год назад

      Very good move. You can check out all my Python tutorial, click on the playlist.

  • @fizzulti9592
    @fizzulti9592 2 года назад

    "entDisplay" is not defined

    • @DJOamen
      @DJOamen  2 года назад

      Create an Entry widget and name it entDisplay

  • @gungunthakur5836
    @gungunthakur5836 9 месяцев назад

    'Calculator' object has no attribute 'BackSpace'

    • @DJOamen
      @DJOamen  9 месяцев назад

      The widget is call:
      btnBackSpace = Button(MainFrame, width=6, height=2, font=('arial', 16, 'bold'), bd=4, text="",bg='cadet blue',
      command =added_value.backspace)
      btnBackSpace.grid(row=1, column=0, pady=1)
      OR
      the function as shown below:
      def backspace(self):
      numLen = len(entDisplay.get())
      entDisplay.delete(numLen - 1, 'end')
      if numLen == 1:
      entDisplay.insert(0, "0")

  • @gungunthakur5836
    @gungunthakur5836 9 месяцев назад

    32.06 indentation error

    • @DJOamen
      @DJOamen  9 месяцев назад

      Check your indentation

  • @arzeynepomuceno1470
    @arzeynepomuceno1470 2 года назад

    sir how can i fix this? "AttributeError: '_tkinter.tkapp' object has no attribute 'miniloop'"

    • @DJOamen
      @DJOamen  2 года назад

      What is 'miniloop'"?
      See the correct syntax below
      root.mainloop()