
Notifications
Clear all
How to use python in Command line interface?
0
21/05/2023 6:07 pm
Topic starter
How to use python in Command line interface?
Answer
Add a comment
Add a comment
1 Answer
0
22/05/2023 1:22 pm
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!
Add a comment
Add a comment
Forum Information
- 22 Forums
- 1,969 Topics
- 5,307 Posts
- 1 Online
- 1,282 Members
Our newest member: TimothySenue
Latest Post: Space bug using " & n b s p ; "
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed