Skip to content

Commit

Permalink
Add install cst_python to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
EltonCN committed Oct 18, 2024
1 parent f064510 commit 9592312
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 14 deletions.
40 changes: 26 additions & 14 deletions examples/Activation and Monitoring.ipynb

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions examples/Implementing a Architecture.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@
"For that, we start importing the necessary modules:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import cst_python\n",
"except:\n",
" !python3 -m pip install cst_python"
]
},
{
"cell_type": "code",
"execution_count": 19,
Expand Down
12 changes: 12 additions & 0 deletions examples/Introduction to CST-Python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@
"Lets start by importing the CST-Python and other required modules:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import cst_python\n",
"except:\n",
" !python3 -m pip install cst_python"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
12 changes: 12 additions & 0 deletions examples/Publisher-Subscriber.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
"Lets start by importing the necessary modules:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import cst_python\n",
"except:\n",
" !python3 -m pip install cst_python"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down

0 comments on commit 9592312

Please sign in to comment.