Python Forum
Strings read from excel don't work? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Strings read from excel don't work? (/thread-8768.html)



Strings read from excel don't work? - Tibas - Mar-06-2018

Hell All


I have a list of words from excel , and as you see in photo.
when I print all the list it gives me a correct answer but when I specify an index it give just one letter or NUMBER?

[Image: 2u9BFEL.jpg]


and when I want to create another list is depending on the value of that column
the appended values doesn't work??

do you have any Idea?

# vsl exist already and it works well
# Reg maybe is the probleme

INTl=[]
count = 0
for item in Reg:
    if item[count] == "INT":
        g= vsl[count]
        INTl.append(g)
        count += 1
print(INTl)
and nothing is appended to INTl?????