Imagine I have Python script, called 'script1.py', which simplies prints "Hello". I want to define a second script, 'script2.py' that runs 'script1.py'. 'script2.py' would return something like 'run('script1.py')'. In PowerShell, I then want to write something like
python3 script2.py
and return "Hello". Any easy way of doing this?
Using clipboard
, one could simply whatever string I would like and paste it on PowerShell. However, this seems unnecessarily complicated. Any ideas on how to improve this?