Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Closing Threads and the chrome window it spawned from Tkinter close button
Post: Closing Threads and the chrome window it spawned f...

from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager import time import threading from threading import * from tkinter import * def script1(): root = Tk() ...
law General Coding Help 0 1,694 Jan-08-2022, 12:13 PM
    Thread: Multiprocessing Can't pickle local object
Post: RE: Multiprocessing Can't pickle local object

Incase anyone else faces the same error with the same code structure, adding global keyword word to the child function before you define it eliminates the error. I have no idea why or how it works, bu...
law General Coding Help 1 15,933 Aug-30-2021, 02:49 PM
    Thread: Multiprocessing Can't pickle local object
Post: Multiprocessing Can't pickle local object

I finally decided to experiment on the multiprocessing module, however I run straight into a ditch where am currently hitting my head against it's walls. I desperately need some help to get out of thi...
law General Coding Help 1 15,933 Aug-24-2021, 03:27 PM
    Thread: Unable to Extract a web element
Post: RE: Unable to Extract a web element

Thanks Man, this has been super helpful
law Web Scraping & Web Development 6 4,953 Mar-11-2021, 09:26 PM
  Thumbs Up Thread: Unable to Extract a web element
Post: RE: Unable to Extract a web element

Thanks Master, this works perfectly **surfing** . I have to admit I don't quite understand what that code says but it works better than expected. I'ma go n start learning Json immediately, next time ...
law Web Scraping & Web Development 6 4,953 Mar-01-2021, 09:56 PM
    Thread: python selenium - get info from nested divs
Post: RE: python selenium - get info from nested divs

Awesome, glad to have been of help
law Web Scraping & Web Development 3 13,238 Feb-26-2021, 08:58 AM
    Thread: python selenium - get info from nested divs
Post: RE: python selenium - get info from nested divs

Hi, You can try to identify the elements with their index, then illiterate on the index to the last one. Use this to identify by indexname=driver.find_element_by_xpath("(//*[contains(@class, 'student-...
law Web Scraping & Web Development 3 13,238 Feb-25-2021, 09:50 PM
    Thread: Unable to Extract a web element
Post: RE: Unable to Extract a web element

Hello, Kindly view the image on this link:- https://drive.google.com/file/d/1TozKdDv...sp=sharing I'm aiming to get the values (results) encircled in red. Thanks
law Web Scraping & Web Development 6 4,953 Feb-24-2021, 11:46 PM
  Photo Thread: Unable to Extract a web element
Post: Unable to Extract a web element

Hello, I have this Selenium web scrapping project I've been working on for while, everything have been awesome till recently the website got updated and some Xpath values changed. I updated the script...
law Web Scraping & Web Development 6 4,953 Feb-24-2021, 11:14 AM
    Thread: find element...click() dont work
Post: RE: find element...click() dont work

I get you know, actually the problem is not python,on the website you are scrapping some elements are loading earlier than others.By the time a click is happening the button has not fully loaded. 2 wa...
law Web Scraping & Web Development 6 3,124 Apr-23-2020, 11:13 PM
    Thread: Extracting Text in a canvas using chain actions
Post: RE: Extracting Text in a canvas using chain action...

I'm using the basic python Idle with selenium on a windows 10 have used chrome driver
law Web Scraping & Web Development 3 2,292 Apr-22-2020, 10:13 AM
    Thread: Extracting Text in a canvas using chain actions
Post: Extracting Text in a canvas using chain actions

I'm Automating a site which has a canvas inside an Iframe. Have been able to navigate through the canvas and click on buttons using chain actions. add=WebDriverWait(driver, 20).until(ec.visibility...
law Web Scraping & Web Development 3 2,292 Apr-18-2020, 01:55 PM
    Thread: find element...click() dont work
Post: RE: find element...click() dont work

Try clicking using javascript element = driver.find_element_by_xpath(f[i]) driver.execute_script("arguments[0].click();", element) If this fails, post the error message
law Web Scraping & Web Development 6 3,124 Apr-18-2020, 01:36 PM
    Thread: Extract data from sports betting sites
Post: RE: Extract data from sports betting sites

I'm working on a similar Project, Selenium will easily do that work for you especially if you encounter a site using Ajax
law Web Scraping & Web Development 3 5,607 Apr-18-2020, 01:10 PM
    Thread: Running multiple Shell with No latency
Post: Running multiple Shell with No latency

Hello Friend, I recently wrote 6 scripts which are scrapping data from an online site.Each script is different and performs a given task in a certain time duration. The time duration is fixed, all the...
law General Coding Help 0 1,656 Oct-01-2019, 09:48 PM
    Thread: Count elements in a list only if they are following each other and are similar
Post: RE: Count elements in a list only if they are foll...

Thanks fellow developers for the assistance offered, i have learnt a lot through this forum. I highly appreciate your efforts in helping me out. The code works flawless, with all the suggestions and d...
law General Coding Help 10 4,607 Aug-02-2019, 10:54 PM
    Thread: Count elements in a list only if they are following each other and are similar
Post: RE: Count elements in a list only if they are foll...

(Aug-01-2019, 10:30 PM)cvsae Wrote: (Aug-01-2019, 10:24 PM)law Wrote: Thanks, let me try thiscan you give me an example want do you want as result ?? I want python to count only if the fruits are ...
law General Coding Help 10 4,607 Aug-01-2019, 10:58 PM
    Thread: Count elements in a list only if they are following each other and are similar
Post: RE: Count elements in a list only if they are foll...

Thanks, let me try this
law General Coding Help 10 4,607 Aug-01-2019, 10:24 PM
    Thread: Count elements in a list only if they are following each other and are similar
Post: RE: Count elements in a list only if they are foll...

How do i do that? i don't have a lot of experience in python any documentation to use as a road-map will be highly appreciated
law General Coding Help 10 4,607 Aug-01-2019, 09:30 PM
    Thread: Count elements in a list only if they are following each other and are similar
Post: Count elements in a list only if they are followin...

Hello friends, i have this code which counts number of apple in the fruit list, it returns 6 which is correct. How can i tell python to count a fruit only if the next fruit is similar to the previous ...
law General Coding Help 10 4,607 Aug-01-2019, 09:13 PM

User Panel Messages

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