nano helloworld.py
to open nano
, a (relatively easy to use) text editor, and create the file helloworld.py
print('Hello my dear friend!')
python helloworld.py
to see the outcomeOpen and change the file helloworld.py
to print your own message.
# execute your steps in the shell
#!/usr/bin/python
hello
chmod 700 hello
. This makes our file executable../hello
and see what happens.# execute your steps in the shell