Posts by Paulo Lobo • 21 points
5 posts
-
0
votes1
answer18
viewsA: ion_auth codeigniter library
You can find the function create_user() in: https://github.com/Cubo-design/sistema_cliente/blob/master/application/controllers/Auth.php But I believe you also want to change the database settings,…
-
0
votes1
answer327
viewsA: Nameerror: name 'pytesseract' is not defined
According to the documentation in pypi.org: # Simple image to string print(pytesseract.image_to_string(Image.open('test.png'))) Try adding "Image.open" as below: import cv2 import pytesseract while…
-
1
votes2
answers287
viewsA: What precautions should I take when naming a Python file?
Click on this link, look for the theme "Naming Conventions" and you can clarify all your doubts about naming files (modules), classes, methods, variables, etc. See: Python Naming Conventions - PEP8…
-
-2
votes2
answers88
viewsQ: Django/Python primary key generator with low collision risk and good performance
GENERATING UNIQUE PRIMARY APPLICATION KEYS I would like to get tips on how to generate primary keys with low risk of collision and that do not reduce the performance of Postgresql operations.…
-
-1
votes1
answer372
viewsQ: Configuration EAR+Hibernate 5.2+Maven+JTA+Mysql project
Hi, I built a Maven j2ee-EAR project, but I’m having trouble setting up Hibernate/JPA. I added the dependencies in pom.xml, as below: <dependencies> <!--…