___
pydotorg-www mailing list
pydotorg-www@python.org
https://mail.python.org/mailman/listinfo/pydotorg-www
On 4/11/20 4:37 AM, Gerhard Tröster wrote:
> the Python Shell 3.8.2 (both the 32 and 64 Bit version) does not execute
> the multiprocessing.Process instruction, and outputs
>
> = RESTART:
> C:\Users\gerhartr\Desktop\Python\Concurrent\Multiprocessing\python1.py
> Done!
>
> Using the cmd
In the simple program
# importing the multiprocessing module
import multiprocessing
def print_cube(num):
print("Cube: {}".format(num * num * num))
def print_square(num):
print("Square: {}".format(num * num))
if __name__ == "__main__":
# creating