So I had a paragraph of code “train.py 3” that goes like
    do something
    print('log something...')
    do something else

and I used pytorch’s multiprocessing toolbox
    import torch.multiprocessing as mp

to execute multithreads of “train.py 3”, however, the print function works well under python3, but not python2. Why?