2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 1804
/ 3 Years ago, mon, september 13, 2021, 6:25:38
My python file:
print('HelloWorld')
After executing the file in terminal history:
HelloWorld
Press ENTER or type command to continue
This is fine.
Now, if I then run the file again, it shows the previous history as well.
HelloWorld
Press ENTER or type command to continue
HelloWorld
Press ENTER or type command to continue
It should only return one 'HelloWorld', and clear the past history.
Please help.
More From » command-line