1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] VS Code - Run selection/line in Python terminal very slow

Discussão em 'Python' iniciado por Stack, Outubro 3, 2024 às 23:52.

  1. Stack

    Stack Membro Participativo

    I've just started using VSCode (moving over from Spyder) and I regularly run lines/selections from my code in the terminal.

    When I have a terminal open, shift + enter runs my selection in a new terminal and is incredibly slow.

    The below takes about 5 seconds to send

    print(1)


    If i copy and paste it in the new terminal, it runs instantly. Why is it slow? I want to continue using shift+enter to run my selection.

    Why does it need to open a new terminal anyway? It can run in the existing terminal, where i start with

    py


    which begins a python interactive session.

    Continue reading...

Compartilhe esta Página