Running Python Code in AWS SageMake

Hello,
I am trying to go through Lab 1 - Generative AI Use Case: Summarize Dialogue where I managed to open the Terminal successfully, but it is not clear where exactly should I enter the python code and what is the appropriate way to run the python scripts?

Appreciate your guidance.

Kind regards,

Hello, you should be posting under Lab 1, once you open the Lap script, .ipynb file, thee you can place code if needed not in the terminal. Give us a screenshot where you are now. If you need to enter some command line, enter it directly in terminal and press enter.