Posts by WilliamCanin • 73 points
6 posts
-
2
votes4
answers620
viewsA: How to delete files and folders recursively safely with Python?
Good, taking this example you can do so: import os import shutil import uuid def recursive_listing(path): files = [] # r = root, d = directories, f = files for r, d, f in os.walk(path): for file in…
-
0
votes1
answer169
viewsA: How to display in a Label the result of 2 other Labels in Python
Are you doing this project with functions only? I recommend doing it with POO, creating class and using an instance object (self) to be able to work with the objects of other methods. Accessing…
-
1
votes3
answers665
viewsQ: How to turn content from a file into a dictionary in Python?
Guys, I have a file and I’m taking the contents of it and adding it into a variable. The contents of the file and the value of the variable is like this: NAME=Maquina01 ID="MAQ 15478" version=08 I’d…
-
0
votes2
answers532
viewsA: Encrypted password check
So, guys, from trying so hard, I managed to solve. On my login button, I implemented the following code: DM.sql_login.Close; DM.sql_login.SQL.Clear; DM.sql_login.SQL.Add('SELECT…
-
1
votes2
answers532
viewsQ: Encrypted password check
I’m having a hard time logging in Delphi with encrypted password at the bank MySQL, I can do the registration and encrypt the password in the database through Delphi with the StoredProcedure that I…
-
0
votes2
answers433
viewsA: How to deploy using Grunt?
Use the plugin Grunt-ftpush (https://www.npmjs.com/package/grunt-ftpush), this plugin you can allow folders or files that will NOT be sent via FTP, through the parameter 'exclusions'. In 'src'…