Posts by Lucas Polo • 620 points
8 posts
-
0
votes3
answers384
viewsA: Download spreadsheet with Openpyxl
Good afternoon Leandro, all right with you? As the staff commented, the tkinter is a good option, it usually comes already installed in basic Python, so if it is an application that runs locally (on…
-
1
votes6
answers4694
viewsA: How to make a stopwatch continue counting after closing the page?
You could store in the cookie or via Web SQL the initial value, the timestamp where you started your chronometer. When leaving the page the value would be saved in the user’s browser, and if you…
-
3
votes3
answers1789
viewsA: How to apply background-color to the p HTML element?
Place specific text inside the tag span and leave your CSS as follows: <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport"…
-
6
votes2
answers3338
viewsA: Recursively rename files to default given in Linux commands
Replaces ls with find, it will bring the list of files and sub-files. Something like: find . -name "*.txt" | rename "s/$1/$2/g" The dot brings the local directory, but you can even replace it with…
-
6
votes4
answers1788
viewsA: Are Getters and Setters mandatory or facilitators?
Some frameworks rely on getters and setters to be able to better reflect upon their classes. As reflection, understand as metaprogramming, widely used in dependency injection or in persistence…
-
1
votes1
answer470
viewsA: How to redeem a key in a Json using Gson (Google)
You can convert to a Hashmap and search through the key. Although it is interesting to create a bean to be able to manipulate the data better, as you just want a specific field, convert it to…
-
27
votes5
answers3667
viewsA: Is there any downside to always capturing Exception and not something more specific?
If only one Exception is triggered in your code snippet, it won’t make much difference, but if more than one can be released in the same snippet, you won’t be able to give a specific treatment. The…
-
1
votes1
answer581
viewsA: How to control a SWF (Flash) player via Parameters <param> HTML?
If you can change the SWF player, it might be interesting to switch to an HTML solution, the only problem (which is not so big anymore) is the browsers that do not support the audio codec that you…
htmlanswered Lucas Polo 620