Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python call/running another python file
Post: RE: Python call/running another python file

Thank you, the problem was the files was in different folders. And the principal I remove parts from X_path because was to big and maybe was more difficult to read, and I delete that, by mistake in th...
windows11 General Coding Help 7 3,234 Jun-12-2020, 10:13 AM
    Thread: Python call/running another python file
Post: RE: Python call/running another python file

This is the two files that I have. I need to run the principal file inside from test. the principal file works perfectly. And I cal the principal in the line 78 from test file. the error appear is ...
windows11 General Coding Help 7 3,234 Jun-12-2020, 08:31 AM
    Thread: Python call/running another python file
Post: RE: Python call/running another python file

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from...
windows11 General Coding Help 7 3,234 Jun-05-2020, 12:56 PM
    Thread: Python call/running another python file
Post: Python call/running another python file

Hello World! I have two files python, ex: file1.py and file2.py Now I'm working in file2.py and I need to run all the python code from file1.py inside(when I'm running) the file1.py. how I can make...
windows11 General Coding Help 7 3,234 May-25-2020, 11:46 AM
    Thread: stop cycle while
Post: stop cycle while

Hello people, I dont know how to stop/pass this cycle while. the situation is the next: In one web page I need to click few times until reload the next page. the problem is when go for the next webp...
windows11 General Coding Help 1 2,016 May-16-2020, 02:42 PM
    Thread: find element...click() dont work
Post: RE: find element...click() dont work

Hello law and thank you for your help, I use your code and works the same, in the 3rd or 4th cycle, the python do the find_element...click() and don't go the second page. I did different experiments,...
windows11 Web Scraping & Web Development 6 3,173 Apr-22-2020, 02:06 PM
    Thread: find element...click() dont work
Post: RE: find element...click() dont work

Ok I will try in a different way. Basically I´m doing this: In page 1 I have x items. I select the first, and I go to the page 2. In page 2 I have a button ( can be in two position, 2 different Xpath...
windows11 Web Scraping & Web Development 6 3,173 Apr-17-2020, 09:30 AM
    Thread: find element...click() dont work
Post: RE: find element...click() dont work

maybe I was not clear what was the problem, or don't have a solution
windows11 Web Scraping & Web Development 6 3,173 Apr-16-2020, 08:42 AM
    Thread: find element...click() dont work
Post: find element...click() dont work

Hello world, I have the next function f1="/html/body/div[2]/main/div....section[1]" f2="/html/body/div[2]/main/div....section[2]" f3="/html/body/div[2]/main/div....section[3]"... f=[f1,f2,f3....]...
windows11 Web Scraping & Web Development 6 3,173 Apr-11-2020, 07:53 AM
    Thread: drive wait in try
Post: drive wait in try

Hello guys Im trying to click in a button in one webpage, but this button can have two different Xpath /html/body/div[2]/main/div[1]/div/div/div/div/div/div[3]/div/section[8]/div/div[1]/div/form/input...
windows11 Web Scraping & Web Development 0 1,834 Apr-07-2020, 01:50 PM
    Thread: bypassing find element click()
Post: bypassing find element click()

Hello guys, I dont know why but sometimes the click() do not work a=11 def my_function(i,driver): while i<a: element=driver.wait.until(EC.presence_of_element_located((By.XPATH,f[i]))) ...
windows11 Web Scraping & Web Development 1 1,896 Apr-02-2020, 08:06 AM
    Thread: open a new window
Post: RE: open a new window

Thank you for your help, but that do not work, the button I want to open have a different link every day or hour. I need something like we do with the mouse, right click and open link in new tab.
windows11 Web Scraping & Web Development 3 2,228 Apr-02-2020, 06:51 AM
    Thread: open a new window
Post: open a new window

Hello guys Im using python and selenium I know the code Drive.find_element_byXpath("...").click() But I want to open in a new window, not in the same window. do you guys know some way to do?
windows11 Web Scraping & Web Development 3 2,228 Apr-01-2020, 04:04 PM
    Thread: HTML loading process
Post: HTML loading process

hello ppl, do you know the way for loading page? For example we have a html code: <html --><head> --><body> </html> and inside in body we have <html --><head>...
windows11 Web Scraping & Web Development 1 1,612 Mar-31-2020, 04:54 PM
    Thread: another element obscures it
Post: RE: another element obscures it

I found, i have double i=i+1 in the loop -.-
windows11 Web Scraping & Web Development 1 2,084 Mar-31-2020, 03:47 PM
    Thread: another element obscures it
Post: another element obscures it

selenium.common.exceptions.ElementClickInterceptedException: Message: Element <section class="list-item ng-scope"> is not clickable at point (674,633) because another element <div id="cookie-...
windows11 Web Scraping & Web Development 1 2,084 Mar-30-2020, 02:12 PM
    Thread: SyntaxError: invalid syntax
Post: RE: SyntaxError: invalid syntax

REALLY!! Thanks a lot
windows11 General Coding Help 5 4,797 Mar-26-2020, 11:15 AM
    Thread: SyntaxError: invalid syntax
Post: RE: SyntaxError: invalid syntax

You are right I have to past everything from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.s...
windows11 General Coding Help 5 4,797 Mar-26-2020, 10:44 AM
    Thread: SyntaxError: invalid syntax
Post: SyntaxError: invalid syntax

Hello guys, I dont understand why this is not working. If I use this, works def my_function(i): while i<a: print(f[i]) i=i+1 pass pass my_function(0) And if I use this is not wo...
windows11 General Coding Help 5 4,797 Mar-26-2020, 09:08 AM
    Thread: extrat data from a button html
Post: extrat data from a button html

Hello guys, I', trying to extract a text/info from a button in one webpage. The button have a number (inside the button) and is always changing the number depending the number of items. https://www....
windows11 Web Scraping & Web Development 1 1,987 Mar-24-2020, 09:32 AM

User Panel Messages

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