Posts by Luke • 116 points
6 posts
-
1
votes2
answers335
viewsA: Operations sum and multiplication of integer numbers in Python list
Did you study about arrays? Take a look here! First thing you need to do is convert your list to int results = list(map(int, elements.split(','))) Then you can take the array values from the index.…
-
1
votes1
answer2796
viewsA: Edit word file . doc in Python
On the home page of python-docx says: python-docx is a Python library for Creating and updating Microsoft Word (.docx) files. In the documentation mentions a builder Document that returns an object…
-
0
votes1
answer82
viewsA: Mysql Filter with ORDER BY
Only add Kills to order by. SQL ORDER BY Keyword The way you wrote it, it would look like this: ORDER BY kills DESC, player.level DESC, player.exp DESC…
-
3
votes2
answers677
views -
0
votes2
answers542
viewsA: How to update a line(Row) in datatable? (Primefaces)
I was in doubt about this update. Is it update in the database? Or just a screen update? If it is screen update, I believe attribute update solve your problem. ps.: I haven’t talked more about the…
-
2
votes1
answer154
viewsA: List of online users
As far as I could tell, Core.logs is an audit table. The date field should probably store date of actions that were performed by users. You can take this date and do a check, where the last actions…