Running two python file at the same time in visual studio code
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Quiet Intelligence
--
Chapters
00:00 Running Two Python File At The Same Time In Visual Studio Code
00:51 Accepted Answer Score 3
01:12 Answer 2 Score 2
01:30 Answer 3 Score 1
01:49 Thank you
--
Full question
https://stackoverflow.com/questions/6937...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #multithreading #visualstudiocode #binance #binanceapiclient
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Quiet Intelligence
--
Chapters
00:00 Running Two Python File At The Same Time In Visual Studio Code
00:51 Accepted Answer Score 3
01:12 Answer 2 Score 2
01:30 Answer 3 Score 1
01:49 Thank you
--
Full question
https://stackoverflow.com/questions/6937...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #multithreading #visualstudiocode #binance #binanceapiclient
#avk47
ACCEPTED ANSWER
Score 3
For some reason i cannot run two python programs at the same time in Visual Studio Code, but i managed to solve this problem with the solution of the first commenter:
I opened terminal and search my .py program. Then i write
python3 xy.py
ANSWER 2
Score 2
You can just create two terminals in visual studio code to run both files (see here). Or you can create a simple shell script which starts both programs (start a program in the background with a '&' at the end of the command line)
ANSWER 3
Score 1
Helpful discussion here: run multiple python scripts at the same time.
Covers the question posted at the title fairly well.
On new window I managed to run the necessary code by typing a command. Run Python File button remains tied too original window.