How to suppress a third-party warning using warnings.filterwarnings
问题 I am using Paramiko in my python code (for sftp). Everything works fine except that everytime I import or call a paramiko function. This warning would show up: C:\Python26\lib\site-packages\Crypto\Util\randpool.py:40: RandomPool_Deprecation Warning: This application uses RandomPool, which is BROKEN in older releases. S ee http://www.pycrypto.org/randpool-broken RandomPool_DeprecationWarning) I know that this has to do with the fact that Paramiko is using some Deprecated functionalities of