<jupyter_start><jupyter_text>Creating a Python program (not on the notebook) -- _Optional_* Use SSH and connect to your Unix shell* Type `nano helloworld.py` to open `nano`, a (relatively easy to use) text editor, and create the file `helloworld.py`* In the text editor, type:    `print('Hello my dear friend!')`* Type Ctrl+X, to save the file and close the editor.* In the shell prompt, type `python helloworld.py` to see the outcome  ExerciseOpen and change the file `helloworld.py` to print your own message.<jupyter_code># execute your steps in the shell<jupyter_output><empty_output><jupyter_text>Creating a self-executing Python program -- _Optional_* Repeat the steps as above, but with the following change: In the first line of your program, type: `!/usr/bin/python`* Save the file with the name `hello`* In the shell, type `chmod 700 hello`. This makes our file _executable_.* Finally type `./hello` and see what happens.<jupyter_code># execute your steps in the shell<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08928571428571429, 'fraction_numerical': 0.002976190476190476, 'mean_word_length': 5.190184049079755, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '5830', 'license': 'CC0-1.0', 'n_tokens_mistral': 304, 'n_tokens_neox': 292, 'n_words': 138, 'path': 'notes/W-Standalone_Programs.ipynb', 'repo_name': 'agill8781/python', 'size': '1008'}