I have two python scripts, lets call them file1.py and file2.py, where I have different functions, let’s say that function11 and function12 are in file1. I need to use those functions in my file2.py function : function21.
Now the problem is that I have a simple error, but I need to make a ‘print’ of the variables to see exactly why I have those errors. But the errors are sent from one of the functions of file1 (that I am using from file2). And when I add some prints the results don’t appear in the terminal.
Is there some way that I can do this ?
I’m not sure of what your script looks like, but you might try something like this (if you are not merely looking for a debugger):
file1.py
file2.py