Welcome to the Treehouse Community
Looking to learn something new?
:Raven-Farhad-Tohidi : Afarin692 Points
I have not been able to launch the script in the concole(shell)
for example i have a file named print.py with a simple function of print("hello") when i run python print.py nothing happens. grateful with any tips.
Jack Harrison-Sherlock6,002 Points
You will need to direct your terminal to the location 'print.py' is located. If you are on a Mac and your file is saved in your downloads folder. Open the terminal and enter
cd downloads, this will change the directory to downloads allowing you to open the python file.
$ cd downloads $ python print.py
Julie EganCourses Plus Student 703 Points
I'm having the same problem, anyone have a solution? I'm not on Mac though, using windows.