Posts by Octávio Lage • 71 points
5 posts
-
3
votes2
answers110
viewsA: Compare files in folder and delete specific ones in Python
Code: #Ponto 1: for indice in range(len(arquivos)-1): #Ponto 2 if arquivos[indice][:3] == arquivos[indice + 1][:3]: #Ponto 3: if texto in arquivos[indice + 1]: os.remove(arquivos[indice + 1])…
python-3.xanswered Octávio Lage 71 -
-1
votes1
answer64
viewsA: How can anyone help me limit this element as it is in the footer? It is overwriting the header when it appears and I can’t limit it!
Ana, welcome to Stack Overflow! I tweaked your code a little bit and it was like this, put it to rotate here and give a little look to see if it answers: <!DOCTYPE html> <html>…
-
2
votes1
answer1345
viewsA: Double chained list - Java
I’ll give you examples of how you can make this list Double chained non-circular: public class Trem { private Vagao head = null; private Vagao tail = null; public boolean tremVazio(){ if (head ==…
-
0
votes1
answer74
viewsA: Python - How to get the date of the last Google Spreasheets update?
Thanks to the documentation link passed by the user Tanaike, I was able to solve the problem How did the code part turn out: import requests revisions_uri =…
-
0
votes1
answer74
viewsQ: Python - How to get the date of the last Google Spreasheets update?
Personal talk! Next, I needed to check if there were any updates to the Google Spreasheets shared document. I thought I’d bring this field: as a date or as a timestamp in python and check with the…