Posts by peptidoglycan • 1 point
5 posts
-
0
votes0
answers131
viewsQ: Change page language with python and Selenium
I’m trying to make the web scraping on Amazon with python and Selenium, but I need to translate the page to English first. This is my code: from os import getcwd from selenium import webdriver from…
-
0
votes1
answer50
viewsA: Set default location to save file
I believe I was not very clear with the example code, but I have already solved the problem. If someone has the same question, the way I did it was, instead of passing one by one the files to…
pythonanswered peptidoglycan 1 -
-1
votes1
answer50
viewsQ: Set default location to save file
I am creating a script in python to convert all the files of a folder into another format informed by the user, but I wanted to ask only once the location to save the files. I tried to use…
pythonasked peptidoglycan 1 -
0
votes1
answer88
viewsQ: How to treat columns with the same name in csv file
I have the following problem, I received a database in csv file and I need to analyze this data, but it has a lot of columns with the same name and I wanted to know if you have any way to treat…
-
0
votes2
answers95
viewsA: How to store value in a variable and return its primitive type and other information
You can put an f before the string in the print and n1 inside {}, so python will run what is inside Ex: n1 = float(input('Digite alguma coisa: ')) print(f'{n1} é', type(n1), 'além disso, ele…