I think you have made a small mistake, the Add
function is the function of Folders
. Not a certain Folder like Folders(2)
You can try the code below and it should work:
import win32com.client
ol = win32com.client.Dispatch("Outlook.Application")
ns = ol.GetNamespace("MAPI")
inbox = ns.Folders(6).Folders(2)
inbox.Folders.Add("My Folder Src")