Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: concatenating 2 items at a time in a python list
Post: RE: concatenating 2 items at a time in a python li...

(Oct-21-2020, 08:21 AM)bowlofred Wrote: First problem is that your for loop seems extraneous. You're not using the index variable later. Your while loop is close, but you're slicing it incorrect...
K11 General Coding Help 3 2,347 Oct-21-2020, 09:19 AM
    Thread: concatenating 2 items at a time in a python list
Post: concatenating 2 items at a time in a python list

I have a list named data having the items shown as below. a229f7d1148c27d5ff46cbf506f92a9e 3c73dc22ddaafa58346cc5241a78d509 c5ebe3eff60ef972fdd9a9d5e4762227 1c720ec8c2615529e1500d77020a1dc2 63d8e40d1c...
K11 General Coding Help 3 2,347 Oct-21-2020, 07:47 AM
    Thread: List index out of range error while accessing 2 lists in python
Post: RE: List index out of range

(Sep-29-2020, 05:08 AM)buran Wrote: list indexes are 0-based, so the max index is len(some_list)-1. That said - don't use for i in range(len(new_list)) to iterate over list. Look at https://python-f...
K11 General Coding Help 2 2,129 Sep-29-2020, 05:24 AM
    Thread: List index out of range error while accessing 2 lists in python
Post: List index out of range error while accessing 2 li...

I have 2 Lists in my code. data list is having len = 11 new_list is having len = 23 I have to search if a string from data list exists in new_list.. I can see that my target_data gets filled with da...
K11 General Coding Help 2 2,129 Sep-29-2020, 05:07 AM
    Thread: saving data from text file to CSV file in python having delimiter as space
Post: saving data from text file to CSV file in python h...

I have a huge report file. I extracted the required data from it into a new file named "new.txt" I want to save this data in a csv file so that i get the columns and rows properly for each of the head...
K11 General Coding Help 1 2,410 Sep-11-2020, 06:06 AM
    Thread: Extracting data based on specific patterns in a text file
Post: Extracting data based on specific patterns in a te...

I have a huge report file with some data where i have to do some data processing on lines starting with the code "MLT-TRR" For now i have extracted all the lines in my script that start with that code...
K11 General Coding Help 1 2,215 Aug-28-2020, 04:09 AM

User Panel Messages

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