Error object has no attribute text - Python Forum
https://python-forum.io/thread-12181.html21.05.2019 · select all the span text with same attribute: JennyYang: 2: 950: Jul-28-2020, 02:56 PM Last Post: snippsat 'NavigableString' object has no attribute 'h2' RandomCoder: 5: 2,310: May-20-2020, 09:01 AM Last Post: Larz60+ Using Python to get attribute text: furiousfrodo: 2: 1,644: Dec-18-2019, 04:18 PM Last Post: furiousfrodo : AttributeError: 'str ...
python - AttributeError: 'str' object has no attribute ...
stackoverflow.com › questions › 4005796What you are trying to do is add additional information to each item in the list that you already created so . alist[ 'from form', 'stuff 2', 'stuff 3'] for j in range( 0,len[alist]): temp= [] temp.append(alist[j]) # alist[0] is 'from form' temp.append('t') # slot for first piece of data 't' temp.append('-') # slot for second piece of data blist.append(temp) # will be alist with 2 additional ...