Checked in PowerShell python interop demo

This commit is contained in:
Bruce Payette authored and brucepay committed 2016-08-04 16:56:43 -07:00
1 parent b1ea06aaef
commit 0593aab35b
4 files changed
+106

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#
# Wrap python script in such a way to make it easy to
# consume from powershell
#
# The variable $PSScriptRoot points to the directory
# from which the script was executed. This allows
# picking up the python script from the same directory
#
& $PSScriptRoot/class1.py | ConvertFrom-JSON