Context Managers in Python Make Life Easier

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

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

  • @Jelvix
    @Jelvix 2 года назад +2

    Wow...nice video. Thanks for this! Keep up the great work)

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

    wow... understood clearly custom context manager.

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

    very nice, thank you man.

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

    Very nice tutorial

  • @ankitbiswas6511
    @ankitbiswas6511 2 года назад +1

    best projects for collage last year

  • @andrescosta9830
    @andrescosta9830 2 года назад +1

    Hello, I wold like to know if there is a simple way to editing the values of an array from a scatter plot and save the changes in the memory. It's for my thesis.
    Sorry if my english is not so good. I'm from Argentina. Your videos are so helpful!

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

      hello :) could you describe your problem a bit more exactly? are you trying to read the values from a scatter plot or do you want to manipulate them in some way and then plot them?

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

    I have to say I prefer the context manager made with a class..though it has more code I also find it more readable and more...organizable?

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

    Aren't the open() function and the socket.socket() function capable of being used as context managers by default?

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

      Yes, but he is showing how you would do it with some other processes using those as examples

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

      @@fexofenadinaGenerica yes, I know, I was only willing to know if they are context managers themselves, as I have used the open() function like that but not the socket.socket() one

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

    The best!

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

    Thx_.