Posts by Éttore Leandro Tognoli • 29 points
4 posts
-
1
votes1
answer304
viewsA: Dictionary as input argument is being modified within the function
If you do not want to modify the original dictionary it will be necessary to copy it, because the dictionary is passed by reference and not by copy. You can also use Dict: def muda(a): a = dict(a)…
-
-4
votes1
answer126
viewsA: What is Python’s First-Class?
Everything in python is a first-class, as everything is Object and Object is first-class. That is, a class, a function, a method... are assignable, referential, and so on, using the standard data…
-
0
votes1
answer222
viewsA: Deploy to Heroku PYTHON/DJANGO application giving error
I believe your makemigrations created the "0008_alter_user_username_max_length" in the auth app folder that is not versioned along with your project. So for Heroku the dependency on your migration…
-
2
votes1
answer135
viewsA: Doubt: how to use python scripts for web?
1 - I would advise you to use some WEB framework like Django, Flask something of the type, so you can program a "website" more easily to upload this image. 2 - Using AWS you can connect via ssh to…