title: Can i convert xlsb file to xlsx using python?
body: <p>I was trying to convert <code>xlsb</code> file to <code>xlsx</code> using Python but I am not able to figure out my problem in my all unsuccessful attempts.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>import pandas as pd
  import os
  import glob
  
  
  source='C:\\Users\\JS Developer\\sample.xlsb'
  dest= 'C:\\Users\\JS Developer\\Desktop\\New folder'
  os.chdir(source)
  
  for file in glob.glob("*.xlb"):
    df.to_csv(dest+file+'.csv', index=False)
    os.remove(file)
  
  for file in glob.glob("*.xlsb"):
         df = pd.read_excel(file)
         df.to_csv(dest+file+'.csv', index=False)
         os.remove(file)
  </code></pre>