loops tag

55 questions


2 answers
126 views
0
I'm asking if I can loop around the coding beginner list slice.

I'd like to cut and print the bottom list combination of 5 pieces, so can you make the list slice range with a loop and make it automatically??num = int(input())moc = num//4namu = num%4like = 0hell = ...

2 years ago

2 answers
124 views
0
Converting ISO2 code by Python basic country to continental name

Hello.In order to convert the country-specific ISO2 code to a continental name, try for 5 hours and then post a question because it gets stuck.First of all, I modified the code that I got through Goog...

2 years ago

1 answers
87 views
0
It's a Python question! AttributeError: 'str' object has no attribute 'text'

Hi, everyone.An error appears when trying to turn as shown below.Is it not possible to print certain strings after append through repetitive statements? items = driver.find_element(By.CLASS_NAME, 'it...

2 years ago

2 answers
71 views
0
I'm going to practice crawling with Python, but I'm asking because the for door doesn't turn around.

from selenium import webdriverfrom bs4 import BeautifulSoupimport sysimport timedriver = webdriver.Chrome(c:/Users/user/Documents/VScode/chromedriver.exe)driver.implicitly_wait (3)URL = http://www.med...

2 years ago

2 answers
73 views
0
Python Infinite Repeating Question (Celenium)

import timen = 0while True: try: driver.found_element_by_xpath (//*[contains(text(), 'green light')]) n = 1+ n print(n) time(10) except: continueHello, I'm fiddling with Python at Selenium I'm p...

2 years ago
« - 6 -

© 2024 OneMinuteCode. All rights reserved.