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
@@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.
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 :)
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!
bro is pumping these sick Python videos, like damn
well now I know how to share a variable between different processes.
can you make server client fast-api communication example?
one of the best channer ever good job
Thank for the Video, but why is it not necessary to use the If __name__ = __main__ part ?
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
@@anchalsharma0843 on Windows machine it is a must if you use multiprocessing
Any plan for general purpose mojo?
windows error : RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
Do you prefer to work in pycharm instead of vscode? Why?
Vscode is spyware allegedly
hmm. I wasnt aware of that. Thanks for the answer! @@donkeypoopdragon
@@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.
I was looking for a sync tutorial😮 saving data from different processes into the same variable is a pain.
super interesting
I like ur content
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 :)
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!
Companies don't matter, customers & users matter if they want to use it or not, so value is not based on companies.