Posts by Ruben Borges Ramos • 311 points
11 posts
-
-1
votes1
answer18
viewsQ: take top element Selenium, python, scraping
<div class="cell-list-content-icon"> <span><i class="fa fa-briefcase"></i>EMPRESA XXXXXXXX</span> <span><i class="fas…
-
0
votes1
answer102
viewsA: Check WORD style in DOCX via Python
Take this test for r in p.runs: print(r.style.name) if r.style.name == 'Estilo_Procurado': print('igual',r.text) else: print('diferente',r.text) Maybe your problem is string, some different…
-
1
votes1
answer49
viewsA: How does this function work?
This function returns the sum of an array of [a,b,c,d,e,f,x] each element being added to the element a, somewhat reminiscent of Fibonacci exerc4(20,30,40,50,60,70) a = 20 b = 30 c = 40 d = 40 e = 60…
-
5
votes2
answers373
viewsA: Java square (geometric figure)
That is in your example size 5x5 First see what the positions are x.y 0.0 0.1 0.2 0.3 0.4 1.0 1.1 1.2 1.3 1.4 2.0 2.1 2.2 2.3 2.4 3.0 3.1 3.2 3.3 3.4 4.0 4.1 4.2 4.3 4.4 So you want me to print the…
-
3
votes1
answer946
viewsQ: Date format in python
How to take the current date and format in Brazilian format '28/10/2019'
-
2
votes1
answer2321
viewsQ: What is None in Python?
I am using the online IDE repl.it. A part of the code has this user input opcao = input(print('Digite:\n1- Acertei\n0-Errei\n\n=')) what gives the exit: Digite: 1- Acertei 0-Errei = None It doesn’t…
-
0
votes1
answer92
viewsA: Sale of automated stamps (Python)
first divide the value by 0.5 selo_50 = custo / 0.5 resto_50 = custo % 0.5 Blz, but now it may be that the change cannot be divided by 0.2. example 1.10 split 0.5 = 2, remaining 0.1 In this case…
pythonanswered Ruben Borges Ramos 311 -
1
votes1
answer214
viewsA: Copy and Paste in powershell for automation of tasks
Older computers, with Powershell in an older version than version 5, use: "Hello World" | clip Already in version 5 or later, use: To Copy Set-Clipboard -Value "Hello World" Necklace Get-Clipboard…
powershellanswered Ruben Borges Ramos 311 -
0
votes2
answers235
viewsA: How to Update to a DB Sqlite3 with POO?
Your problem should be in the sql command print() the command and see what is being sent Your sql comand is updating all fields UPDATE Produtos SET Nome='{Nome2}', Quant='{Quant2}',…
-
1
votes1
answer93
viewsA: How to return a string transformed column to a float, int?
A simple example, by making an exchange, replace, Can, depending on the problem, remove after the point primeira_lista = ['KOI-0001.01','KOI-5877.03'] segunda_lista = [] for pl in primeira_lista:…
-
1
votes1
answer214
viewsQ: Copy and Paste in powershell for automation of tasks
How to Copy and Paste in powershell for automation of tasks
powershellasked Ruben Borges Ramos 311