<jupyter_start><jupyter_text>Running Python from the Command Line with arguments> Note: Getting practicale<jupyter_code>#hide
from nbdev.showdoc import *<jupyter_output><empty_output><jupyter_text>Python can do more than the "+" operator for strings 'That is Alice's cat'  that does not work with single quotes![](.\images\Strings_single_quote.png) First line of all python programs should be a shebang line<jupyter_code>#export
#! python3
import sys
print("Hello World!")
print(sys.argv)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0945945945945946, 'fraction_numerical': 0.0019305019305019305, 'mean_word_length': 7.65, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '252495', 'license': 'Apache-2.0', 'n_tokens_mistral': 168, 'n_tokens_neox': 162, 'n_words': 51, 'path': '09_Python_cli_agr.ipynb', 'repo_name': 'CailleauThierry/tcai_AtBSwPython', 'size': '518'}