#Python in terminal?

5 messages · Page 1 of 1 (latest)

severe dirge
#

Question:

Can you use Python in the terminal?
My sister learns Python and is interested in Linux.

(Would you tell me some commands too?)

cosmic mason
#

Yes, you can use Python in terminal, open software manager (if you use Mint) and check if python3 is installed. If it's installed, you can run python commands in two ways

  1. Type python3 in terminal, this command opens python and you can run simple commands
  2. Create a file with .py extension with script in python and run this script with this command in terminal: python3 [file name].py
    This is all I know about python
    Sorry for bad English
sonic copper
#

Yes python is pre-installed in mint and you can use

python3 script.py

to run scripts your sister might make