Python converting from base64 to binary

前端 未结 2 1506
挽巷
挽巷 2021-01-11 09:10

I have a problem about converting a base64 encoded string into binary. I am collecting the Fingerprint2D in the following link,

url = \"https://pubchem.ncbi.         


        
2条回答
  •  北恋
    北恋 (楼主)
    2021-01-11 10:02

    the easiest way with python 3 is:

    import base64    
    base64.b64decode(base64_to_binary_input) 
    

提交回复
热议问题