Synchronizing Multiple Processes in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 32

  • @mokus603
    @mokus603 ปีที่แล้ว +3

    bro is pumping these sick Python videos, like damn

  • @JorgeEscobarMX
    @JorgeEscobarMX ปีที่แล้ว +4

    well now I know how to share a variable between different processes.

  • @jihedbouchnak
    @jihedbouchnak 8 หลายเดือนก่อน

    one of the best channer ever good job

  • @g.s.3389
    @g.s.3389 ปีที่แล้ว +1

    can you make server client fast-api communication example?

  • @juliank.3522
    @juliank.3522 5 หลายเดือนก่อน +1

    Thank for the Video, but why is it not necessary to use the If __name__ = __main__ part ?

    • @anchalsharma0843
      @anchalsharma0843 4 หลายเดือนก่อน

      That line is used to provide an entry point(main method just like other languages like java , c++) for your module.
      Since executing the code in this example from the very top to the bottom would also work, that line is not needed here

    • @tiongah7690
      @tiongah7690 หลายเดือนก่อน

      @@anchalsharma0843 on Windows machine it is a must if you use multiprocessing

  • @ttaylor9916
    @ttaylor9916 ปีที่แล้ว +2

    windows error : RuntimeError:
    An attempt has been made to start a new process before the
    current process has finished its bootstrapping phase.

  • @SoraIroNaKISEKI
    @SoraIroNaKISEKI ปีที่แล้ว

    Any plan for general purpose mojo?

  • @iwantfrens5804
    @iwantfrens5804 ปีที่แล้ว

    Do you prefer to work in pycharm instead of vscode? Why?

    • @donkeypoopdragon
      @donkeypoopdragon ปีที่แล้ว

      Vscode is spyware allegedly

    • @iwantfrens5804
      @iwantfrens5804 ปีที่แล้ว

      hmm. I wasnt aware of that. Thanks for the answer! @@donkeypoopdragon

    • @Scranny
      @Scranny ปีที่แล้ว

      ​@@donkeypoopdragonVSCodium is a fork of VSCode that removes the Microsoft telemetry. Use that instead. I use PyCharm because it's what I'm used to and it's very feature rich.

  • @JorgeEscobarMX
    @JorgeEscobarMX ปีที่แล้ว

    I was looking for a sync tutorial😮 saving data from different processes into the same variable is a pain.

  • @0xdevy
    @0xdevy ปีที่แล้ว

    I like ur content

  • @benlong1062
    @benlong1062 ปีที่แล้ว

    super interesting

  • @yaminnather521
    @yaminnather521 ปีที่แล้ว +1

    His video explaining processes was outright wrong in many ways, sooo think hard before taking everything in this video as facts.
    Even the way he was measuring time taken to execute the different processeses was wrong lol.
    He was recording the time taken to just start them,instead of the time taken for them to complete, which does not change at all no matter what happens :)

  • @croms5203
    @croms5203 ปีที่แล้ว

    Wait, do you think cryptocurrency will crash? I dont think so. More and more companies are integrating cryptocurrency into their operations: Amazon, Cannafarm Ltd, Burger King, even Starbucks, dude!

    • @alliedeena1141
      @alliedeena1141 ปีที่แล้ว

      Companies don't matter, customers & users matter if they want to use it or not, so value is not based on companies.