Python Forum
labels.append(self.classes.index(member.find('name').text))
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
labels.append(self.classes.index(member.find('name').text))
#2
Indenting is wrong. The for loop has no body.
Reply


Messages In This Thread
RE: labels.append(self.classes.index(member.find('name').text)) - by deanhystad - Dec-15-2021, 01:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Class member become static Quasar999 1 798 Sep-16-2023, 12:52 PM
Last Post: deanhystad
  Pypdf2 will not find text standenman 2 1,082 Feb-03-2023, 10:52 PM
Last Post: standenman
  [SOLVED] [Beautifulsoup] Find if element exists, and edit/append? Winfried 2 4,707 Sep-03-2022, 10:14 PM
Last Post: Winfried
  read a text file, find all integers, append to list oldtrafford 12 4,189 Aug-11-2022, 08:23 AM
Last Post: Pedroski55
  find some word in text list file and a bit change to them RolanRoll 3 1,677 Jun-27-2022, 01:36 AM
Last Post: RolanRoll
  Find and delete above a certain line in text file cubangt 12 3,962 Mar-18-2022, 07:49 PM
Last Post: snippsat
  How to find tags using specific text (timestamps) in a url? q988988 1 1,498 Mar-08-2022, 08:09 AM
Last Post: buran
  pandas pivot table: How to find count for each group in Index and Column JaneTan 0 3,531 Oct-23-2021, 04:35 AM
Last Post: JaneTan
Thumbs Up [SOLVED] Find last occurence of pattern in text file? Winfried 4 4,723 Aug-13-2021, 08:21 PM
Last Post: Winfried
  How to define a variable in Python that points to or is a reference to a list member JeffDelmas 4 2,856 Feb-28-2021, 10:38 PM
Last Post: JeffDelmas

Forum Jump:

User Panel Messages

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