How to use python i…
 
Notifications
Clear all

How to use python in Command line interface?

1 Posts
2 Users
0 Likes
683 Views
0
Topic starter

How to use python in Command line interface?

1 Answer
0

To run Python scripts with the python command, you need to open a command-line and type in the word python , or python3 if you have both versions, followed by the path to your script, just like this: $ python3 hello.py Hello World! If everything works okay, after you press Enter , you’ll see the phrase Hello World!

Share: