Posts by Adolfo Correa • 258 points
9 posts
-
0
votes0
answers20
viewsQ: What happens if I modify a python script during its execution?
I am running a script Python which takes a few hours to complete. After running it, I fixed an error in the code. The fix I made is on a line of code that hasn’t been executed yet. So, this is where…
pythonasked Adolfo Correa 258 -
4
votes1
answer200
viewsQ: Bash. What’s export for?
Looking at Bash scripts, I realized that variables can be created in the following ways: script1.sh: variable1=Ola export variable2="Ola de novo" Find out more about the difference between these two…
bashasked Adolfo Correa 258 -
1
votes1
answer3291
viewsQ: How to list all files in a folder using Python?
I am building a program that needs to know the files in its work directory. So I typed the following code. def encontrar_arq(cadena, caminho): encontrado = False # lista_arq = ls(caminho) #funcao…
-
0
votes0
answers44
viewsQ: How to obtain exact results from simple arithmetic calculations?
I tested simple arithmetic calculations in multiplex languages. I tested some calculations in python console: >>> 0.1+0.1 0.2 >>> 0.1+0.2 0.30000000000000004 >>> 10*0.67…
-
1
votes1
answer146
viewsA: Can someone help me with this program on Ansi C, CRUD program?
Try making the following modifications: #include <stdio.h> #include <stdlib.h> char _nome[20]; //int _idade[9]; int _idade; char _cpf[11]; const int dez = 10; int _Leitura(void); int…
-
0
votes1
answer100
viewsA: Java problem in Mathcad and Modefrontier integration
I do not know the reason for this problem, but I managed to solve by running modeFRONTIER as Administrator. There are many problems if the modeFRONTIER is not run as administrator. So I recommend…
-
1
votes1
answer100
viewsQ: Java problem in Mathcad and Modefrontier integration
I’m testing the modeFrontier with a simple multi-purpose optimization problem of ESTECO A simple multi-objective Optimization problem Modefrontier can generate input variables h and r but cannot…
-
2
votes2
answers5622
viewsA: Access denied when updating PIP
Tries to execute the cmd as an administrator. Goes to inicio/accesorios/Command Prompt and of clique direito/ executar como administrador. then try the same command: pip install --upgrade pip…
-
4
votes2
answers3708
viewsQ: How to prevent Item started on one page from continuing on another in Latex?
I work with a template from COPPE/UFRJ Coppetex in my dissertation work. I made a numbered list with the command \item but as the list was at the end of the page has one of the points that started…
latexasked Adolfo Correa 258