Posts by typemark • 125 points
7 posts
-
1
votes1
answer205
viewsQ: Script/Routine to run program
Hello. I would like an example of Script by the same VBS, to check if there is activity in Windows and so that if there is no activity in the previous 15 minutes, this script runs a certain program.…
-
2
votes1
answer5260
viewsQ: VBA code to delete line
Guys, I have a code that checks the line if there’s a word or phrase and deletes the line: If Mid(Cells(i, 10), 1, 50) <> "Defeito" Then Rows(i).Delete Shift:=xlUp However I in the spreadsheet…
-
7
votes4
answers7124
viewsQ: Accept only numerics in input
nota = -1 while nota < 0 or nota > 10: nota = int(input("Informe a nota entre 0 e 10: ")) if nota < 0 or nota > 10: print("Valor inválido") I need to include this validation code to, if…
-
0
votes1
answer60
viewsA: Problems setting up Mysql on Windows
This can help you: Installs Mysql -installer-web-community-5.6.23.0. msi selects with Mysql Servers 5.6.22 - X64 and Mysql Connectors -> ODBC/5.3.4 - 64 Run -(ready to configure) -> Next…
-
1
votes2
answers3041
viewsA: Include task in Windows task scheduler via batch
You can use the command at. at \\"nomedopc" 00:00 /interactive /every:m,t,w,th,f,s,su "\\nomedoarquivo.bat" Don’t forget to authenticate on the station with any user belonging to the group Domain…
-
-2
votes2
answers654
viewsQ: Syntax error in if Else
frase1 = str(input("Digite uma frase: ").strip()) frase2 = str(input("Digite uma frase: ").strip()) print("O tamanho da frase1 é " ,len(frase1)) print("O tamanho da frase2 é " ,len(frase2)) if…
-
-5
votes1
answer2136
viewsQ: INVALID SYNTAX ERROR
The code below is giving error of invalid syntax. Follows: while(escolha!=0 and confirmar!=0): print("Menu") print("1- Inserir um item") print("2- Remover item") print("3- Listar todos os itens")…