Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [split] how to read a specific row in CSV file ?
Post: RE: [split] how to read a specific row in CSV file...

Want to read the specific row number or what is the criteria?. Use pandas to readcsv, output will be dataframe. Using dataframe we can add multiple criteria to fetch required rows. import pandas as ...
AjayBachu Homework 2 8,868 May-22-2020, 07:31 AM
    Thread: Retrieve URL's from a pdf
Post: RE: Retrieve URL's from a pdf

Thanks for your advice and I am not reaching here without doing prior exercise from my end. After doing research from my end, I am posting here. You can reply me, if you have solution otherwise no i...
AjayBachu General Coding Help 8 3,044 May-19-2020, 04:31 PM
    Thread: Retrieve URL's from a pdf
Post: RE: Retrieve URL's from a pdf

If I do like this, http is getting removed from response. string.split('http')
AjayBachu General Coding Help 8 3,044 May-18-2020, 06:52 AM
    Thread: Retrieve URL's from a pdf
Post: RE: Retrieve URL's from a pdf

how to split the line when we find HTTP or https?
AjayBachu General Coding Help 8 3,044 May-15-2020, 09:51 AM
    Thread: Retrieve URL's from a pdf
Post: Extract Multiline URL's from pdf/text file

I have a file with list of url's along with other data. We need to extract URL's. I tried URLExtract but its not fetching more then one line.
AjayBachu General Coding Help 8 3,044 May-15-2020, 09:30 AM
    Thread: Retrieve URL's from a pdf
Post: RE: Retrieve URL's from a pdf

Yes Pdf has other text data as well. Thanks for your reply.. let me know if you have any other way to fetch urls embedded in pdf along with other text
AjayBachu General Coding Help 8 3,044 May-14-2020, 06:52 AM
    Thread: Retrieve URL's from a pdf
Post: Retrieve URL's from a pdf

Hi Team, I have a requirement to fetch URL's from pdf, in pdf I have url which is multiline,like below https://www.flipkart.com/dell‐vostro‐14‐...s‐vos‐3480‐ laptop/p/itmf1a0a2f37df6d?pid=COMFHTHRPG...
AjayBachu General Coding Help 8 3,044 May-13-2020, 10:16 AM
    Thread: web scraping extract particular Div section
Post: RE: web scraping extract particular Div section

Thank you so much.. I will use this.
AjayBachu Web Scraping & Web Development 7 10,379 May-12-2020, 03:24 PM
    Thread: web scraping extract particular Div section
Post: RE: web scraping extract particular Div section

Thank you so much, I can get it based on index. But can we get index based on its child tag General, Processor And Memory Features...? <div class="_2GiuhO">Specifications</div> <div>...
AjayBachu Web Scraping & Web Development 7 10,379 May-12-2020, 09:02 AM
    Thread: web scraping extract particular Div section
Post: RE: web scraping extract particular Div section

Thanks for your reply, results = soup.find('div', {'class': '_2RngUh'}) even this is giving only the first occurrence of class. But want to fetch 2nd occurrence or 3rd occurrence based on child name...
AjayBachu Web Scraping & Web Development 7 10,379 May-11-2020, 04:36 PM
    Thread: web scraping extract particular Div section
Post: web scraping extract particular Div section

In my html code I have Div section, and multiple Div sections have the same class name. <div class="_2GiuhO">Specifications</div> ...
AjayBachu Web Scraping & Web Development 7 10,379 May-11-2020, 12:13 PM
    Thread: Web scraping read particular section
Post: RE: Web scraping read particular section

Thank you so much.. above code is working I can get class name Now major question is inside this class there are lot of sub sections and I want to extract each section based on input string passed in...
AjayBachu Web Scraping & Web Development 4 3,074 May-08-2020, 07:33 AM
    Thread: Web scraping read particular section
Post: RE: Web scraping read particular section

above this other html code is there <div class="_2GiuhO">Specifications</div>, now I have the text specifications and I want to get the class name for that specifications class="_2GiuhO"....
AjayBachu Web Scraping & Web Development 4 3,074 May-07-2020, 09:30 AM
    Thread: Web scraping read particular section
Post: Web scraping read particular section

I am trying read contents from particular section from a URL/web page. I am able to achieve this using beatifulsoup using findall and giving classname soup.find(class_="_2RngUh"). But now I want to ...
AjayBachu Web Scraping & Web Development 4 3,074 May-06-2020, 11:32 AM

User Panel Messages

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