podList = str(raw_input('Enter pipe separated list of PODS : ')).upper().strip()
   #pipelst = str(raw_input('Enter pipe separated list  : ')).split('|')
    filepath = '/fsnadmin/SAAS_SUPPORT/pod_data_from_FM.txt'
    for lns in open(filepath):
        split_pipe = lns.split(':', 1)
        if split_pipe[0] in podList:
            #print split_pipe[0], ' details : ', split_pipe[1]
            podList.remove(split_pipe[0])
    for lns in podList : print lns,' is wrong input'
    items = podList.split("|")
    count = len(items)
    print  'Total Distint Pod Count : ',  count
When I run the above code get below error:
Enter pipe separated list of PODS : EDL|ACP|ANP|GGG
Traceback (most recent call last):
File "./main_menu.py", line 966, in
pPODName() File "./main_menu.py", line 905, in pPODName podList.remove(split_pipe[0])AttributeError: 'str' object has no attribute 'remove'
Please assist me for the workaround here.
 
     
     
     
    