title: List all items (folders and files) from a storage
body: <p>I am trying to list all the items and subitems from a OneDrive drive with O365 python library.</p>
  <p>My OneDrive is organized as followed:</p>
  <pre><code>1:F: Clt
  1:F: CltRoot
  1:F: Documents
  --2:F:clientDocs
  --2:F:clt
  ---3:F:sub3
  1:F: ID-Clt-Ctr
  --2:F:Clt
  ---3:F:Clt
  ----4:F:Sub4
  --2:F:Pieces
  1:F: Pictures
  1:f: Clt.txt
  1:f: Getting started with OneDrive.pdf
  1:f: text2.txt
  </code></pre>
  <p>f for file and F for Folder and the number is the depth level</p>
  <p>with this code I can list until a fixed sub level, which is 3</p>
  <pre><code># 3 levels
  items = my_drive.get_items() 
  for item in items: 
      if (item.is_folder) : 
          print('1:F:',item.name) 
          for si in item.get_child_folders(): 
              if  (si.is_folder):
                  print('2:F:'+si.name)
                  for ssi in si.get_child_folders(): 
                      if  (ssi.is_folder):
                          print('3:F:'+ssi.name)
                      elif (ssi.is_file) :
                          print('3:f:',ssi.name)  
              elif (si.is_file) :
                  print('2:f:',si.name)                  
      elif (item.is_file) :
          print('1:f:',item.name)  
  </code></pre>
  <p>I would like to be able to have a code which will continue to display file or folder with no sub level limit (sub4 is not displayed), the condition to continue is to test if the item is a folder and content a children folder via item.get_child_folders()</p>
  <p>How can I do that, please?</p>
  <p>Thanks in advance,</p>