Python Forum
Strings read from excel don't work?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strings read from excel don't work?
#1
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?????
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to read module/class from list of strings? popular_dog 1 467 Oct-04-2023, 03:08 PM
Last Post: deanhystad
  Trying to understand strings and lists of strings Konstantin23 2 757 Aug-06-2023, 11:42 AM
Last Post: deanhystad
  how to read txt file, and write into excel with multiply sheet jacklee26 14 9,893 Jan-21-2023, 06:57 AM
Last Post: jacklee26
  Splitting strings in list of strings jesse68 3 1,755 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  UART Serial Read & Write to MP3 Player Doesn't Work bill_z 15 5,791 Jul-17-2021, 04:19 PM
Last Post: bill_z
  How do I read in a Formula in Excel and convert it to do the computation in Python? JaneTan 2 2,634 Jul-07-2021, 02:06 PM
Last Post: Marbelous
  Read and write active Excel file euras 4 3,480 Jun-29-2021, 11:16 PM
Last Post: Pedroski55
  Excel password recovery tool for work OTH 4 3,288 Mar-08-2021, 08:56 AM
Last Post: OTH
  read logfile between two specific strings FelixReiter 6 2,886 Jan-04-2021, 02:26 PM
Last Post: FelixReiter
  code to read files in folders and transfer the file name, type, date created to excel Divya577 0 1,853 Dec-06-2020, 04:14 PM
Last Post: Divya577

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020