Closed IR21-cyber closed 2 months ago
Hey @IR21-cyber, thanks for reporting. Could you post the script you're running which fails to produce output? In case it's too complex, please post the simplest version you can of it.
That will help us to reproduce your problem on our side. Otherwise we won't be able to help you.
Hi @ccordoba12, thank you for your reply. Actually I figured it out yesterday. I had these lines at the beginning of my script:
try: s = sys.winver os.system("cls") except: os.system("clear")
and after I disabled them, everything worked. But I think it is a little bit weird, that the output on the console was cleared after running the script since the lines were placed at its beginning.
Can you give any advice how am I supposed to clear the console before running the script?
@IR21-cyber, ok, I understand better your problem now. You said:
Can you give any advice how am I supposed to clear the console before running the script?
The mechanism we offer for that is to run the script in a dedicated console. To do that, you need to go to the menu
Run > Configuration per file
and select Run file with custom configuration
and then Execute in a dedicated console
. That will always clear the console before running your code.
That should solve your problem, but let us know if it is what you're looking for.
@ccordoba12 it works, thank you very much for your help!
Great! Thanks for letting us know about it.
Description
What steps will reproduce the problem?
No output on the IPython Console when running the script using print() to produce the output
Versions
Dependencies