Posts by Leandro Paixão • 147 points
8 posts
-
2
votes3
answers7146
viewsQ: How to run the method inside a.py file by linux terminal
How can I call a method that is inside a.py file directly from the linux terminal, only I don’t want to enter it prompt of python For example [fedora@user ~]$ python arquivo.py metodo parametro…
-
3
votes1
answer1795
viewsQ: Lockscreen lock screen
It is possible to create a lockscreen in JS+HTML+CSS with the same blocking functionality as in Windows? I think about doing this in the web system that I’m doing.
-
1
votes1
answer179
viewsQ: Many-to-Many: Model and Django Template
I have the following situation: - Budget - Product - Items in the Budget I sought the relationship Many-to-Many in Django (1.10), until then quiet, creates in the Template a Multi-select. But if by…
-
1
votes1
answer2166
viewsQ: Redirect and Render in Django
I have a file views.py which has the following method: def alterar(request, pk): cliente = get_object_or_404(Cliente, pk=pk) if request.method == 'POST': form = ClienteForm(request.POST, instance =…
-
1
votes1
answer778
viewsQ: View the Form of a DLL in Delphi DX10
I have the following situation: I have a project, which calls a DLL and this has a form. Until that moment 'OK', performs the call and displays the form, only one thing that bothers me visually is…
-
1
votes1
answer118
viewsQ: Many to Many Wtforms Flask Sqlalchemy
Good night! I’m implementing a system with wtforms flask, and I stopped in the following situation: I have CRUD products and a CRUD Budget, so I will have product items in the budget (n:n). In the…
-
2
votes1
answer220
viewsQ: Image in WPF menu with C#
I have a problem, I created an application in WPF, and put a menu that will have images in the items. When I preview the image in VS is ok, but when I run the application the images do not appear.…
-
2
votes1
answer527
viewsQ: Delphi Unit Test
I am implementing Dunit in the company and my question is the following: there is some way to click the button of a "Showmessage", of a form I can, but I would like when the showmessage window…