Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

python - multiprocessing not working (oserror:[Errno 22] Invalid argument )

i am using python3.5.2 and i am trying to learn about multiprocessing but it doesn't work for me it doesn't show me any error or any thing it just finish the program normally with out doing anything i already asked about this if you want to see my question for more details

multiprocessing don't start

i tried everything and all the time is the same problem when i searched i found lot of people having the same problem every one was telling them that its the IDLE problem so i tried and i opened the python file with out the IDLE and now thankfully i had error message but i am beginner so i couldn't understand what is the problem , here is the problem :

and thanks for your help

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

For an explanation of why the if __name__ == '__main__': part is necessary, see Programming guidelines.

Python ? Documentation Safe importing of main module


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...