Posts by J. Igor • 23 points
3 posts
-
0
votes0
answers6
viewsQ: Which Tkinter method. Entry is responsible for setting the value of the textvariable?
I created the following Customentry to implement a placeholder: class CustomEntry(tk.Entry): def __init__(self, master=None, placeholder="", cnf={}, fg="black", fg_placeholder="grey50", *args,…
-
0
votes1
answer34
viewsQ: How to get a full URL using Django?
Is there a Django function that concatenates a specific path with the base URL and returns a full URL? Example: url_completa = criar_url_completa("/meu_app/minha_view") print(url_completa) #…
-
1
votes1
answer50
viewsQ: How to call a function by a parameter using argparse?
I was able to call functions just by creating subparsers but there are two parameters left that are part of the parser, do you have any correct way to pass a function in the argument statement?…