Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: string parsing with re.search()
Post: RE: string parsing with re.search()

(Jun-04-2020, 10:34 AM)snippsat Wrote: (Jun-04-2020, 09:39 AM)delahug Wrote: I installed an Anaconda environment (is that what it's called?!)When install you use the Python 3.7 version of Anaconda...
delahug Web Scraping & Web Development 9 3,609 Jun-04-2020, 07:02 PM
    Thread: string parsing with re.search()
Post: RE: string parsing with re.search()

(Jun-04-2020, 03:09 AM)Gribouillis Wrote: delahug Wrote:I then run into the problem above when using re.search() on the square bracket. It's caused (apparently) by the fraction in the first span.If ...
delahug Web Scraping & Web Development 9 3,609 Jun-04-2020, 09:39 AM
    Thread: string parsing with re.search()
Post: RE: string parsing with re.search()

(Jun-03-2020, 01:35 PM)snippsat Wrote: There is no u'' in Python 3,so follow advice over. # Python 3.8 >>> s = u'\xbd' >>> s '½' # Can remove <u> make no difference >>...
delahug Web Scraping & Web Development 9 3,609 Jun-03-2020, 09:23 PM
    Thread: string parsing with re.search()
Post: string parsing with re.search()

hi, i've been trying to parse a string using the re.search function but am running into trouble when it encounters ½ (the numeral representation of a half)... l = re.search(r'[[]',str(viola.text),re...
delahug Web Scraping & Web Development 9 3,609 Jun-03-2020, 08:24 AM
    Thread: html data cell attribute issue
Post: RE: html data cell attribute issue

(May-30-2020, 04:01 PM)snippsat Wrote: delahug Wrote:for cell in row.find_all('td',data-ending_ = 'RPR'):Can not add data-ending_= 'RPR' for this attribute,here have to use dictionary in search. it...
delahug Web Scraping & Web Development 5 3,141 May-31-2020, 09:18 AM
    Thread: html data cell attribute issue
Post: RE: html data cell attribute issue

(May-29-2020, 02:17 AM)Larz60+ Wrote: you need to provide more information. The URL, and either an xpath, or css selector would be handy Thanks for your time. Here's my table data cell <td cl...
delahug Web Scraping & Web Development 5 3,141 May-30-2020, 10:56 AM
    Thread: html data cell attribute issue
Post: html data cell attribute issue

hi all, an attribute that i need to use to identify a <td> contains the keyword 'data'... for cell in row.find_all('td',data-ending_ = 'RPR'): SyntaxError: keyword can't be an expression is t...
delahug Web Scraping & Web Development 5 3,141 May-28-2020, 09:41 PM
    Thread: installing openpyxl
Post: installing openpyxl

Hi, Total python newbie here; nearly 20 years since I've done any programming... I've managed to install python on my pc and run 'Hello, World!'... so far so good... but now I need to install the o...
delahug General Coding Help 2 11,745 Jan-28-2020, 09:58 AM

User Panel Messages

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