mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Checked in PowerShell python interop demo
This commit is contained in:
1 parent
b1ea06aaef
commit
0593aab35b
4 files changed
+106
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user