Calling Python from bash: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
<font color=darkkhaki>TODO: reconcile with [[Python Project Layout]]</font>. | <font color=darkkhaki>TODO: reconcile with [[Python Project Layout]]</font>. | ||
==Python Code and Tests Maintained within the Project Structure== | ==Python Code and Tests Maintained within the Project Structure== |
Revision as of 17:10, 2 May 2023
Internal
Overview
This article summarizes a series of aspects related to invoking Python program from bash.
Running a Python Program with a Bash Wrapper
Check out these links for the meaning of standalone Python program and Python script.
TODO: reconcile with Python Project Layout.
Python Code and Tests Maintained within the Project Structure
Only Externally Published Packages
Inline Python Code
Use bash here-doc:
python3 <<EOF
print('blah')
EOF
Also see: