How to run two or more scripts from one file in multiple tabs

Hello,

I was looking for hours but I cant find a solution for my problem in Pycharm.

I have 3 scripts lets say 1.py, 2.py and 3.py and I want open them at once from start.py

I want that for every script  pycharm opens a new tab window in pycharm. Is this possible?

I know how to have multiple windows when I start my scripts from a batch file but I wonder how it is possible to have multiple tabs in pycharm

Thanks

Daniel

0
8 comments

Hello, 

 

Please try the following option: 

1

I still dont know how to start two or more scripts in the run tabs from one  script. Have you an code example for me ? I started with python few weeks ago

0

Hello, 

 

Do you mean the script content itself? We do not provide coding assistance, you may find the answer on external resources f.e. https://www.tutorialspoint.com/How-can-I-make-one-Python-file-run-another

0

Lets say I have 3 files I see in pycharm in the tree. Normally I have to manually start them . Mouse right click , run'...' , and I see the result in the run Tab. Finally I have 3  run tabs I can see separately.

Actually I have more than 3 files I want to start and it is annoying to always start all the files manually so I am asking if it is possible to start them all from 1 file. Most importatnt is that every file opens separately as a run tab in pycharm. 

I am looking since days and cant find a solution. 

0

Hello, 

 

sorry for the late response. 

Please submit a feature request at https://youtrack.jetbrains.com/issues/PY , regrettably there is no such functionality at the moment. 

Information on how to use YouTrack: https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications

 

 

0

Hello Antonina,

thank you anyway . 

0

Kritthanit M

`pycharm script.py` will not run the script. `python script.py` will.

0

Please sign in to leave a comment.