Posts by Caio Costa • 61 points
5 posts
-
0
votes2
answers68
viewsA: Selenium using Python
No classes and no identification, just putting the content (the link) inside href, same in this code (which, if the site changes the link, may end up causing errors in your code): variavel =…
python-3.xanswered Caio Costa 61 -
5
votes1
answer140
viewsQ: How to make the ":. 0f" format not round my number
I wanted to know how I use the format ":.0f" without rounding up the number. I want to catch a input of seconds and turn it into minutes, here’s my code: segundos = int(input()) minutos = segundos…
-
-1
votes2
answers46
viewsA: Inserting error message to user
You can try using the "Try" and "except" function, in case "Try" goes wrong, the "except" function will come into play by printing whatever you want on the screen, except also has some arguments…
pythonanswered Caio Costa 61 -
-1
votes1
answer99
viewsA: Modules of the Python3
About the problem "Deprecationwarning:" try to install the cloudpickle library. Pip install cloudpickle or pip3 install cloudpickle
-
0
votes1
answer67
viewsQ: How to create conditions in read and write text files (python3)?
So how could I pick up a text like this for example: "testo<br>de<br>exemplo<br>" and create a conditional (after giving the .open('file.txt', 'r')) for each time the program finds…