Search code examples
pythonvisual-studio-codeansi-escape

Is it possible to make a line of script (print("\033c")) added by default to the beginning of Python files in VSCode?


In order to remove file path displayed in Terminal of VsCode I use print("\033c") at the first line of each of my Python script files. Is it possible to make this line be the first line of each Python script file by default?


Solution

  • Here is how I solved the issue:
    I needed to install Anaconda in my PC for Machine Learning purposes. After spending some times on writing python scripts on spyder and Jupyter Notebook, I hadn't any issue in program running. So I choose spyder over VsCode.