Posts by Lucas Resende • 176 points
3 posts
-
1
votes1
answer46
viewsA: Python cluster application deploy
I use Docker, but it may be helpful. So I just use virtualenv in development. When I deploy to my dockerfile I say which image I use in the python case 3.6 then I also run Pip install -r…
-
2
votes1
answer593
viewsA: Pass view arguments to Django form
I did something similar, I about wrote the init form method. At the time of instantiating the form I pass the parameters I want to: form = QualquerForm(request.POST,var1='ola mundo') Now about…
-
0
votes1
answer214
viewsA: How to change the value of a variable in the python terminal and save permanently?
Since Voce something simple can use a file to save, but when you want to save data in persistent mode I advise to use some DBMS. #ler nome do arquivo with open('data.txt','r') as f: name = f.read()…
pythonanswered Lucas Resende 176