問題描述
我正在使用 python3.5.2,我正在嘗試學(xué)習(xí)多處理,但它對(duì)我不起作用它沒有顯示任何錯(cuò)誤或任何事情它只是正常完成程序而沒有做任何我已經(jīng)問過的事情如果您想查看我的問題以了解更多詳細(xì)信息,請(qǐng)?jiān)诖颂?/p>
有關(guān)為什么需要 if __name__ == '__main__':
部分的說明,請(qǐng)參閱編程指南.
Python ? 文檔 安全導(dǎo)入主模塊
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 :
For an explanation of why the if __name__ == '__main__':
part is necessary, see Programming guidelines.
Python ? Documentation Safe importing of main module
這篇關(guān)于多處理不起作用(oserror:[Errno 22] Invalid argument)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!