How to run .py scripts in linux

Hello,
I’m facing problems with running and opening a .py script in Linux. I am new to Root, but as well to linux, so it’s a bit confusing. Does root/python have something like a command window as does e.g. Matlab? I set the directory path to my script, but does it need to be in the same directory of root/python?
Thank you.


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


So you’re new to Linux, Python, and ROOT? Then I would suggest to start with the ROOT Primer

thank you